Issue #3285631: Make it impossible to call CronUpdater::begin() directly
Compare changes
- Adam G-H authored
@@ -205,7 +205,6 @@ class VersionPolicyValidatorTest extends AutomaticUpdatesKernelTestBase {
@@ -205,7 +205,6 @@ class VersionPolicyValidatorTest extends AutomaticUpdatesKernelTestBase {
@@ -219,7 +218,6 @@ class VersionPolicyValidatorTest extends AutomaticUpdatesKernelTestBase {
@@ -219,7 +218,6 @@ class VersionPolicyValidatorTest extends AutomaticUpdatesKernelTestBase {
@@ -231,7 +229,6 @@ class VersionPolicyValidatorTest extends AutomaticUpdatesKernelTestBase {
@@ -231,7 +229,6 @@ class VersionPolicyValidatorTest extends AutomaticUpdatesKernelTestBase {
@@ -243,7 +240,6 @@ class VersionPolicyValidatorTest extends AutomaticUpdatesKernelTestBase {
@@ -243,7 +240,6 @@ class VersionPolicyValidatorTest extends AutomaticUpdatesKernelTestBase {
@@ -255,55 +251,18 @@ class VersionPolicyValidatorTest extends AutomaticUpdatesKernelTestBase {
@@ -255,55 +251,18 @@ class VersionPolicyValidatorTest extends AutomaticUpdatesKernelTestBase {
'Drupal cannot be automatically updated during cron from 9.8.1 to 9.8.2 because 9.8.2 is not a security release.',
'Drupal cannot be automatically updated from 9.7.9 to 9.8.2 because automatic updates from one minor version to another are not supported during cron.',
@@ -315,7 +274,6 @@ class VersionPolicyValidatorTest extends AutomaticUpdatesKernelTestBase {
@@ -315,7 +274,6 @@ class VersionPolicyValidatorTest extends AutomaticUpdatesKernelTestBase {
@@ -326,7 +284,6 @@ class VersionPolicyValidatorTest extends AutomaticUpdatesKernelTestBase {
@@ -326,7 +284,6 @@ class VersionPolicyValidatorTest extends AutomaticUpdatesKernelTestBase {
@@ -334,58 +291,12 @@ class VersionPolicyValidatorTest extends AutomaticUpdatesKernelTestBase {
@@ -334,58 +291,12 @@ class VersionPolicyValidatorTest extends AutomaticUpdatesKernelTestBase {
'Drupal cannot be automatically updated during cron to 9.8.1-beta1, because Automatic Updates only supports updating to stable versions during cron.',
'The currently installed version of Drupal core, 9.7.9, is not in a supported minor version. Your site will not be automatically updated during cron until it is updated to a supported minor version.',
'The currently installed version of Drupal core, 9.7.9, is not in a supported minor version. Your site will not be automatically updated during cron until it is updated to a supported minor version.',
'Use the <a href="/admin/modules/automatic-update">update form</a> to update to a supported version.',
@@ -404,7 +315,7 @@ class VersionPolicyValidatorTest extends AutomaticUpdatesKernelTestBase {
@@ -404,7 +315,7 @@ class VersionPolicyValidatorTest extends AutomaticUpdatesKernelTestBase {
public function testApi(array $updaters, string $installed_version, string $release_metadata, array $cron_modes, array $project_versions, array $expected_results, bool $allow_minor_updates = FALSE): void {
@@ -414,20 +325,18 @@ class VersionPolicyValidatorTest extends AutomaticUpdatesKernelTestBase {
@@ -414,20 +325,18 @@ class VersionPolicyValidatorTest extends AutomaticUpdatesKernelTestBase {