Changeset 56552 for trunk/tests/phpunit/includes/bootstrap.php
- Timestamp:
- 09/11/2023 04:51:09 AM (3 years ago)
- File:
-
- 1 edited
-
trunk/tests/phpunit/includes/bootstrap.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/includes/bootstrap.php
r56547 r56552 11 11 // Support the config file from the root of the develop repository. 12 12 if ( basename( $config_file_path ) === 'phpunit' && basename( dirname( $config_file_path ) ) === 'tests' ) { 13 $config_file_path = dirname( dirname( $config_file_path ));13 $config_file_path = dirname( $config_file_path, 2 ); 14 14 } 15 15 } … … 80 80 if ( ! class_exists( 'Yoast\PHPUnitPolyfills\Autoload' ) ) { 81 81 // Default location of the autoloader for WP core test runs. 82 $phpunit_polyfills_autoloader = dirname( dirname( dirname( __DIR__ ) )) . '/vendor/yoast/phpunit-polyfills/phpunitpolyfills-autoload.php';82 $phpunit_polyfills_autoloader = dirname( __DIR__, 3 ) . '/vendor/yoast/phpunit-polyfills/phpunitpolyfills-autoload.php'; 83 83 $phpunit_polyfills_error = false; 84 84
Note: See TracChangeset
for help on using the changeset viewer.