diff --git a/core/modules/system/src/Tests/Installer/InstallerTranslationMultipleLanguageTest.php b/core/modules/system/src/Tests/Installer/InstallerTranslationMultipleLanguageTest.php index d985473..ea7cb76 100644 --- a/core/modules/system/src/Tests/Installer/InstallerTranslationMultipleLanguageTest.php +++ b/core/modules/system/src/Tests/Installer/InstallerTranslationMultipleLanguageTest.php @@ -104,6 +104,13 @@ public function testTranslationsLoaded() { $this->assertEqual($config->get('anonymous'), 'Anonymous de'); $this->assertEqual($config->get('langcode'), 'de'); $this->assertTrue($override_de->isNew()); + + // If we used the profile which also keeps English, that should have made + // English translation overrides available. + if ($this->profile == 'testing_multilingual_with_english') { + $override_en = $language_manager->getLanguageConfigOverride('en', 'user.settings'); + $this->assertEqual($override_en->get('anonymous'), 'Anonymous'); + } } else { $this->assertEqual($config->get('anonymous'), 'Anonymous');