We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8017175 commit d60c22eCopy full SHA for d60c22e
tests/AppBundle/Controller/BlogControllerTest.php
@@ -85,6 +85,8 @@ public function testNewComment()
85
86
$this->assertSame(Response::HTTP_FOUND, $client->getResponse()->getStatusCode());
87
88
+ $client->getContainer()->get('doctrine')->getManager()->clear();
89
+
90
$post = $client->getContainer()->get('doctrine')->getRepository(Post::class)->find(1);
91
// The first one is the most recent comment because of the automatic sorting
92
// defined in the comments association of the Post entity
0 commit comments