diff --git a/.github/workflows/build-test-measure.yml b/.github/workflows/build-test-measure.yml index ad4aa4b33..8c88ea3e1 100644 --- a/.github/workflows/build-test-measure.yml +++ b/.github/workflows/build-test-measure.yml @@ -261,7 +261,7 @@ jobs: - php: '7.0' wp: '6.3' coverage: false - phpunit: '7' + phpunit: '6' steps: - name: Checkout diff --git a/tests/bootstrap.php b/tests/bootstrap.php index 1cc4026cf..2fa8268ed 100644 --- a/tests/bootstrap.php +++ b/tests/bootstrap.php @@ -67,13 +67,13 @@ function pwa_unit_test_load_plugin_file() { define( 'WP_CLI_ROOT', TESTS_PLUGIN_DIR . '/vendor/wp-cli/wp-cli' ); define( 'WP_CLI_VENDOR_DIR', TESTS_PLUGIN_DIR . '/vendor' ); -if ( file_exists( WP_CLI_ROOT . '/php/utils.php' ) ) { - require_once WP_CLI_ROOT . '/php/utils.php'; - WP_CLI\Utils\load_dependencies(); +// if ( file_exists( WP_CLI_ROOT . '/php/utils.php' ) ) { +// require_once WP_CLI_ROOT . '/php/utils.php'; +// WP_CLI\Utils\load_dependencies(); - $logger = new WP_CLI\Loggers\Regular( true ); - WP_CLI::set_logger( $logger ); -} +// $logger = new WP_CLI\Loggers\Regular( true ); +// WP_CLI::set_logger( $logger ); +// } // Start up the WP testing environment. require $_test_root . '/includes/bootstrap.php';