Changeset 59085 for trunk/tests/phpunit/includes/bootstrap.php
- Timestamp:
- 09/24/2024 06:09:41 PM (20 months ago)
- File:
-
- 1 edited
-
trunk/tests/phpunit/includes/bootstrap.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/includes/bootstrap.php
r56552 r59085 215 215 define( 'DIR_TESTDATA', __DIR__ . '/../data' ); 216 216 define( 'DIR_TESTROOT', realpath( dirname( __DIR__ ) ) ); 217 define( 'IMPORTER_PLUGIN_FOR_TESTS', DIR_TESTDATA . '/plugins/wordpress-importer/wordpress-importer.php' ); 218 219 if ( ! file_exists( IMPORTER_PLUGIN_FOR_TESTS ) ) { 220 echo 'The test suite requires the WordPress Importer plugin to be available in the `/data/plugins/` directory.' 221 . ' See: https://make.wordpress.org/core/handbook/contribute/git/#unit-tests' . PHP_EOL, 222 exit( 1 ); 223 } 217 224 218 225 define( 'WP_LANG_DIR', realpath( DIR_TESTDATA . '/languages' ) );
Note: See TracChangeset
for help on using the changeset viewer.