mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00:00
Tests: Temporarily disable the test for "Supported Versions" section of GitHub Security Policy.
The test needs to be adjusted to handle major version changes correctly. git-svn-id: https://develop.svn.wordpress.org/trunk@53346 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
9b97edabe5
commit
ad835148ff
@ -25,7 +25,7 @@ class Tests_Basic extends WP_UnitTestCase {
|
||||
preg_match( '#\d.\d.x#', $security, $matches );
|
||||
$current_version = substr( $GLOBALS['wp_version'], 0, 3 );
|
||||
$latest_stable = sprintf( '%s.x', (float) $current_version - 0.1 );
|
||||
$this->assertSame( $latest_stable, trim( $matches[0] ), "SECURITY.md's version needs to be updated to $latest_stable." );
|
||||
// $this->assertSame( $latest_stable, trim( $matches[0] ), "SECURITY.md's version needs to be updated to $latest_stable." );
|
||||
}
|
||||
|
||||
public function test_package_json() {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user