From 5cb71b6f89828b46c1f2cf3d9694c9e6d48aef46 Mon Sep 17 00:00:00 2001 From: Ted Bowman <ted+git@tedbow.com> Date: Fri, 6 Oct 2023 16:10:05 -0400 Subject: [PATCH] set a core version for all functional tests --- tests/src/Functional/AutomaticUpdatesFunctionalTestBase.php | 1 + tests/src/Functional/UpdaterFormTestBase.php | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/src/Functional/AutomaticUpdatesFunctionalTestBase.php b/tests/src/Functional/AutomaticUpdatesFunctionalTestBase.php index e290bb1e67..7cc20dd5c6 100644 --- a/tests/src/Functional/AutomaticUpdatesFunctionalTestBase.php +++ b/tests/src/Functional/AutomaticUpdatesFunctionalTestBase.php @@ -46,6 +46,7 @@ abstract class AutomaticUpdatesFunctionalTestBase extends BrowserTestBase { $this->config('automatic_updates.settings') ->set('unattended.level', CronUpdateRunner::SECURITY) ->save(); + $this->mockActiveCoreVersion('9.8.0'); } /** diff --git a/tests/src/Functional/UpdaterFormTestBase.php b/tests/src/Functional/UpdaterFormTestBase.php index e3d13524e9..3f5f2fb75c 100644 --- a/tests/src/Functional/UpdaterFormTestBase.php +++ b/tests/src/Functional/UpdaterFormTestBase.php @@ -60,7 +60,6 @@ abstract class UpdaterFormTestBase extends AutomaticUpdatesFunctionalTestBase { } $user = $this->createUser($permissions); $this->drupalLogin($user); - $this->mockActiveCoreVersion('9.8.0'); $this->checkForUpdates(); } -- GitLab