Changeset 48059 for trunk/tests/phpunit/includes/bootstrap.php
- Timestamp:
- 06/16/2020 03:33:37 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/includes/bootstrap.php
r47880 r48059 31 31 32 32 if ( ! is_readable( $config_file_path ) ) { 33 echo " Error:wp-tests-config.php is missing! Please use wp-tests-config-sample.php to create a config file.\n";33 echo "wp-tests-config.php is missing! Please use wp-tests-config-sample.php to create a config file.\n"; 34 34 exit( 1 ); 35 35 } … … 40 40 if ( version_compare( tests_get_phpunit_version(), '5.4', '<' ) || version_compare( tests_get_phpunit_version(), '8.0', '>=' ) ) { 41 41 printf( 42 " Error:Looks like you're using PHPUnit %s. WordPress requires at least PHPUnit 5.4 and is currently only compatible with PHPUnit up to 7.x.\n",42 "Looks like you're using PHPUnit %s. WordPress requires at least PHPUnit 5.4 and is currently only compatible with PHPUnit up to 7.x.\n", 43 43 tests_get_phpunit_version() 44 44 ); … … 48 48 49 49 if ( defined( 'WP_RUN_CORE_TESTS' ) && WP_RUN_CORE_TESTS && ! is_dir( ABSPATH ) ) { 50 echo " Error:The /build/ directory is missing! Please run `npm run build` prior to running PHPUnit.\n";50 echo "The /build/ directory is missing! Please run `npm run build` prior to running PHPUnit.\n"; 51 51 exit( 1 ); 52 52 }
Note: See TracChangeset
for help on using the changeset viewer.