Skip to content

Commit e54fd8c

Browse files
committed
Minor tweak
1 parent 643e877 commit e54fd8c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/Controller/BlogControllerTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,13 @@ public function testIndex()
3131
$client = static::createClient();
3232
$crawler = $client->request('GET', '/en/blog/');
3333

34+
$this->assertResponseIsSuccessful();
35+
3436
$this->assertCount(
3537
Post::NUM_ITEMS,
3638
$crawler->filter('article.post'),
3739
'The homepage displays the right number of posts.'
3840
);
39-
$this->assertResponseIsSuccessful();
4041
}
4142

4243
public function testRss()

0 commit comments

Comments
 (0)