summaryrefslogtreecommitdiffstats
path: root/core/modules/language/lib/Drupal/language/Tests/LanguageUILanguageNegotiationTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/modules/language/lib/Drupal/language/Tests/LanguageUILanguageNegotiationTest.php')
-rw-r--r--core/modules/language/lib/Drupal/language/Tests/LanguageUILanguageNegotiationTest.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/modules/language/lib/Drupal/language/Tests/LanguageUILanguageNegotiationTest.php b/core/modules/language/lib/Drupal/language/Tests/LanguageUILanguageNegotiationTest.php
index e86ad6c..9200d89 100644
--- a/core/modules/language/lib/Drupal/language/Tests/LanguageUILanguageNegotiationTest.php
+++ b/core/modules/language/lib/Drupal/language/Tests/LanguageUILanguageNegotiationTest.php
@@ -369,6 +369,7 @@ class LanguageUILanguageNegotiationTest extends WebTestBase {
if (!empty($test['language_test_domain'])) {
state()->set('language_test.domain', $test['language_test_domain']);
}
+ $this->container->get('language_manager')->reset();
$this->drupalGet($test['path'], array(), $test['http_header']);
$this->assertText($test['expect'], $test['message']);
$this->assertText(t('Language negotiation method: @name', array('@name' => $test['expected_method_id'])));