+ {% for locale, url in urls %}
+
{{ locale }}
+ {% endfor %}
+
diff --git a/tests/Functional/Controller/Website/EventWebsiteControllerTest.php b/tests/Functional/Controller/Website/EventWebsiteControllerTest.php
index d43c775..a05e48d 100644
--- a/tests/Functional/Controller/Website/EventWebsiteControllerTest.php
+++ b/tests/Functional/Controller/Website/EventWebsiteControllerTest.php
@@ -29,7 +29,7 @@ public function testIndexAction(): void
{
$event = $this->createEvent('Sulu is awesome', 'en');
- $crawler = $this->client->request('GET', '/event/' . $event->getId());
+ $crawler = $this->client->request('GET', '/en/event/' . $event->getId());
$response = $this->client->getResponse();
$this->assertInstanceOf(Response::class, $response);
diff --git a/tests/Functional/Pages/HomepageTest.php b/tests/Functional/Pages/HomepageTest.php
index c715be7..3c941e1 100644
--- a/tests/Functional/Pages/HomepageTest.php
+++ b/tests/Functional/Pages/HomepageTest.php
@@ -50,7 +50,7 @@ public function testHomepage(): void
]
);
- $crawler = $this->client->request(Request::METHOD_GET, '/homepage');
+ $crawler = $this->client->request(Request::METHOD_GET, '/en/homepage');
$response = $this->client->getResponse();
$this->assertInstanceOf(Response::class, $response);