From ad835148ff2ae623e137516048cfa5843e5a7ad9 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Tue, 3 May 2022 18:14:33 +0000 Subject: [PATCH] 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 --- tests/phpunit/tests/basic.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/phpunit/tests/basic.php b/tests/phpunit/tests/basic.php index 5ffd6b2470..51b0c78519 100644 --- a/tests/phpunit/tests/basic.php +++ b/tests/phpunit/tests/basic.php @@ -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() {