diff --git a/core/modules/config/src/Tests/ConfigLanguageOverrideWebTest.php b/core/modules/config/src/Tests/ConfigLanguageOverrideWebTest.php index f4d5acb..50e9ead 100644 --- a/core/modules/config/src/Tests/ConfigLanguageOverrideWebTest.php +++ b/core/modules/config/src/Tests/ConfigLanguageOverrideWebTest.php @@ -54,6 +54,9 @@ function testSiteNameTranslation() { ->set('name', 'XX site name') ->save(); + // Place branding block with site name into header region. + $this->drupalPlaceBlock('system_branding_block', ['region' => 'header']); + $this->drupalLogout(); // The home page in English should not have the override. diff --git a/core/modules/config/src/Tests/ConfigSingleImportExportTest.php b/core/modules/config/src/Tests/ConfigSingleImportExportTest.php index 688d867..9537c38 100644 --- a/core/modules/config/src/Tests/ConfigSingleImportExportTest.php +++ b/core/modules/config/src/Tests/ConfigSingleImportExportTest.php @@ -126,6 +126,10 @@ public function testImport() { public function testImportSimpleConfiguration() { $this->drupalLogin($this->drupalCreateUser(array('import configuration'))); $config = $this->config('system.site')->set('name', 'Test simple import'); + + // Place branding block with site name into header region. + $this->drupalPlaceBlock('system_branding_block', ['region' => 'header']); + $edit = array( 'config_type' => 'system.simple', 'config_name' => $config->getName(),