+ {% for locale, url in urls %}
+
{{ locale }}
+ {% endfor %}
+
diff --git a/tests/Functional/Controller/EventWebsiteControllerTest.php b/tests/Functional/Controller/EventWebsiteControllerTest.php
index 3e24ea1..49b0a79 100644
--- a/tests/Functional/Controller/EventWebsiteControllerTest.php
+++ b/tests/Functional/Controller/EventWebsiteControllerTest.php
@@ -26,7 +26,7 @@ public function testIndexAction(): void
$event = $this->createEvent('Sulu is awesome', 'en');
- $crawler = $client->request('GET', '/event/' . $event->getId());
+ $crawler = $client->request('GET', '/en/event/' . $event->getId());
$response = $client->getResponse();
$this->assertInstanceOf(Response::class, $response);
diff --git a/tests/Functional/Pages/HomepageTest.php b/tests/Functional/Pages/HomepageTest.php
index 74bc3ce..c0c0ac1 100644
--- a/tests/Functional/Pages/HomepageTest.php
+++ b/tests/Functional/Pages/HomepageTest.php
@@ -45,7 +45,7 @@ public function testHomepage(): void
);
$client = $this->createWebsiteClient();
- $crawler = $client->request(Request::METHOD_GET, '/homepage');
+ $crawler = $client->request(Request::METHOD_GET, '/en/homepage');
$response = $client->getResponse();
$this->assertInstanceOf(Response::class, $response);