update test
This commit is contained in:
@@ -40,7 +40,7 @@ class PostControllerTest extends WebTestCase
|
|||||||
|
|
||||||
public function testIndex(): void
|
public function testIndex(): void
|
||||||
{
|
{
|
||||||
$crawler = $this->client->request('GET', '/post');
|
$crawler = $this->client->request('GET', '/posts');
|
||||||
|
|
||||||
self::assertResponseStatusCodeSame(200);
|
self::assertResponseStatusCodeSame(200);
|
||||||
self::assertPageTitleContains('Post index');
|
self::assertPageTitleContains('Post index');
|
||||||
|
Reference in New Issue
Block a user