Skip to content

Commit

Permalink
Tweak to run woo-e2e
Browse files Browse the repository at this point in the history
  • Loading branch information
Luc45 committed Dec 23, 2024
1 parent 907517c commit d4c6e1a
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions _tests/managed_tests/QITSelfTests.php
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,11 @@ function maybe_echo( $message ) {

maybe_echo( "\nGenerating ZIP packages:\n" );

// Adjusted line here: If $tests_to_run['woo-api'] is not set or empty, it will just return without error
$zipManager->generate_zips( $tests_to_run['woo-api'] ?? [] );
// Generate zips for all test types found
foreach ( $tests_to_run as $type => $runs ) {
maybe_echo( "\nGenerating ZIP packages for $type:\n" );
$zipManager->generate_zips( $runs );
}

maybe_echo( "\nPreparation complete. Moving on to running QIT tests...\n" );
sleep( 2 );
Expand Down

0 comments on commit d4c6e1a

Please sign in to comment.