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:
parent
395c8b7cd4
commit
65156c6fc5
@ -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 );
|
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() {
|
function test_license() {
|
||||||
|
Loading…
Reference in New Issue
Block a user