Changeset 47156 for trunk/tests/phpunit/includes/bootstrap.php
- Timestamp:
- 02/01/2020 09:36:44 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/includes/bootstrap.php
r47122 r47156 31 31 32 32 if ( ! is_readable( $config_file_path ) ) { 33 echo "E RROR: wp-tests-config.php is missing! Please use wp-tests-config-sample.php to create a config file.\n";33 echo "Error: 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(), '8.0', '>=' ) ) { 41 41 printf( 42 "E RROR: Looks like you're using PHPUnit %s. WordPress is currently only compatible with PHPUnit up to 7.x.\n",42 "Error: Looks like you're using PHPUnit %s. WordPress 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 "E RROR: The /build/ directory is missing! Please run `npm run build` prior to running PHPUnit.\n";50 echo "Error: 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.