diff --git a/tests/Functional/Controller/DefaultControllerTest.php b/tests/Functional/Controller/DefaultControllerTest.php index 29366fbf..72761325 100644 --- a/tests/Functional/Controller/DefaultControllerTest.php +++ b/tests/Functional/Controller/DefaultControllerTest.php @@ -40,7 +40,7 @@ public function testSecureUrls(string $url): void */ public function testMenuItems(string $url): void { - $client = DefaultControllerTest::createClient(); + $client = self::createClient(); $crawler = $client->request('GET', '/'); $link = $crawler->filter(sprintf('a[href="%s"]', $url))->link(); $urlFound = $link->getUri();