diff --git a/core/modules/system/lib/Drupal/system/Tests/Upgrade/UpgradePathTestBase.php b/core/modules/system/lib/Drupal/system/Tests/Upgrade/UpgradePathTestBase.php index 9d110e6..4d12123 100644 --- a/core/modules/system/lib/Drupal/system/Tests/Upgrade/UpgradePathTestBase.php +++ b/core/modules/system/lib/Drupal/system/Tests/Upgrade/UpgradePathTestBase.php @@ -135,7 +135,7 @@ abstract class UpgradePathTestBase extends WebTestBase { $this->prepareD8Session(); // Restore necessary variables. - config('system.site')->set('mail', 'simpletest@example.com')->save(); + $this->variable_set('site_mail', 'simpletest@example.com'); drupal_set_time_limit($this->timeLimit); $this->setup = TRUE;