update test
This commit is contained in:
1 parent
3667868e65
commit
b49f57fafe
2 files changed
+3
-3
No files matched your search
@@ -40,10 +40,10 @@ class PostControllerTest extends WebTestCase
|
||||
|
||||
public function testIndex(): void
|
||||
{
|
||||
$crawler = $this->client->request('GET', '/posts');
|
||||
$crawler = $this->client->request('GET', '/');
|
||||
|
||||
self::assertResponseStatusCodeSame(200);
|
||||
self::assertPageTitleContains('Post index');
|
||||
self::assertPageTitleContains('Posts');
|
||||
|
||||
// Use the $crawler to perform additional assertions e.g.
|
||||
// self::assertSame('Some text on the page', $crawler->filter('.p')->first());
|
||||
|
||||
Reference in new issue
Block a user