diff --git a/tests/Controller/PostControllerTest.php b/tests/Controller/PostControllerTest.php index 1635aa4..7d50c53 100644 --- a/tests/Controller/PostControllerTest.php +++ b/tests/Controller/PostControllerTest.php @@ -40,7 +40,7 @@ class PostControllerTest extends WebTestCase public function testIndex(): void { - $crawler = $this->client->request('GET', '/post'); + $crawler = $this->client->request('GET', '/posts'); self::assertResponseStatusCodeSame(200); self::assertPageTitleContains('Post index');