summaryrefslogtreecommitdiffstats
path: root/core/modules/language/src/Tests/LanguageUILanguageNegotiationTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/modules/language/src/Tests/LanguageUILanguageNegotiationTest.php')
-rw-r--r--core/modules/language/src/Tests/LanguageUILanguageNegotiationTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/modules/language/src/Tests/LanguageUILanguageNegotiationTest.php b/core/modules/language/src/Tests/LanguageUILanguageNegotiationTest.php
index 44bfdab..5cc9713 100644
--- a/core/modules/language/src/Tests/LanguageUILanguageNegotiationTest.php
+++ b/core/modules/language/src/Tests/LanguageUILanguageNegotiationTest.php
@@ -402,7 +402,7 @@ class LanguageUILanguageNegotiationTest extends WebTestBase {
// Check that the language switcher active link matches the given browser
// language.
$args = array(':id' => 'block-test-language-block', ':url' => \Drupal::url('<front>') . $langcode_browser_fallback);
- $fields = $this->xpath('//div[@id=:id]//a[@class="language-link active" and starts-with(@href, :url)]', $args);
+ $fields = $this->xpath('//div[@id=:id]//a[@class="language-link is-active" and starts-with(@href, :url)]', $args);
$this->assertTrue($fields[0] == $languages[$langcode_browser_fallback]->getName(), 'The browser language is the URL active language');
// Check that URLs are rewritten using the given browser language.