diff --git a/tests/phpunit/tests/basic.php b/tests/phpunit/tests/basic.php index 691b6cf91e..c0703ee0ee 100644 --- a/tests/phpunit/tests/basic.php +++ b/tests/phpunit/tests/basic.php @@ -37,7 +37,7 @@ class Tests_Basic extends WP_UnitTestCase { preg_match_all( '#\s*\s*]*>\s*([0-9.]*)#s', $php, $phpmatches ); - $this->assertContains( $matches[1], $phpmatches[1] ); + $this->assertContains( $matches[1], $phpmatches[1], "readme.html's Recommended PHP version is too old. Remember to update the WordPress.org Requirements page, too." ); } function test_license() {