diff --git a/core/modules/update/tests/src/Functional/UpdateCoreTest.php b/core/modules/update/tests/src/Functional/UpdateCoreTest.php index 5ecbbe7b08..b47bc9b00d 100644 --- a/core/modules/update/tests/src/Functional/UpdateCoreTest.php +++ b/core/modules/update/tests/src/Functional/UpdateCoreTest.php @@ -242,14 +242,6 @@ public function securityUpdateAvailabilityProvider() { 'expected_update_message_type' => static::SECURITY_UPDATE_REQUIRED, 'fixture' => 'sec.0.2', ], - // Site on latest security release available for site minor release 0. - // Minor release 1 also has a security release. - '0.2, 0.2' => [ - 'site_patch_version' => '0.2', - 'expected_security_release' => ['1.2', '2.0-rc2'], - 'expected_update_message_type' => static::UPDATE_AVAILABLE, - 'fixture' => 'sec.2.0-rc2', - ], // Two security releases available for site minor release 0. // 0.1 security release marked as insecure. // No releases for next minor. @@ -318,16 +310,16 @@ public function securityUpdateAvailabilityProvider() { $test_cases["Pre-release:$pre_release, no security update"] = [ 'site_patch_version' => $pre_release, 'expected_security_releases' => [], - 'expected_update_message_type' => $pre_release === '2.0-rc2' ? static::UPDATE_NONE : static::UPDATE_AVAILABLE, - 'fixture' => 'sec.2.0-rc2-b', + 'expected_update_message_type' => $pre_release === '0.2-rc2' ? static::UPDATE_NONE : static::UPDATE_AVAILABLE, + 'fixture' => 'sec.0.2-rc2-b', ]; } // @todo In https://www.drupal.org/node/2865920 add test cases: // - For all pre-releases for 8.2.0 except 8.2.0-rc2 using the - // 'sec.2.0-rc2' fixture to ensure that 8.2.0-rc2 is the only security + // 'sec.0.2-rc2' fixture to ensure that 8.2.0-rc2 is the only security // update. - // - For 8.1.0 using fixture 'sec.2.0-rc2' to ensure that only security + // - For 8.1.0 using fixture 'sec.0.2-rc2' to ensure that only security // updates are 8.1.2 and 8.2.0-rc2. return $test_cases; }