Tests: Add an extra warning message when checking the recommended PHP version.

See #33758.



git-svn-id: https://develop.svn.wordpress.org/trunk@33944 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Gary Pendergast 2015-09-07 07:27:34 +00:00
parent 395c8b7cd4
commit 65156c6fc5
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ class Tests_Basic extends WP_UnitTestCase {
preg_match_all( '#<tr class="stable">\s*<td>\s*<a [^>]*>\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() {