diff --git a/tests/CoreBundle/Controller/IndexControllerTest.php b/tests/CoreBundle/Controller/IndexControllerTest.php index ef4685455e9..369f3ac647a 100644 --- a/tests/CoreBundle/Controller/IndexControllerTest.php +++ b/tests/CoreBundle/Controller/IndexControllerTest.php @@ -49,7 +49,7 @@ public function testLoginPage(): void $client = static::createClient(); $client->request('GET', '/login'); $this->assertResponseIsSuccessful(); - $this->assertStringContainsString('lang="en_US"', $client->getResponse()->getContent()); + $this->assertStringContainsString('lang="en"', $client->getResponse()->getContent()); } public function testLoginChangeLanguage(): void