Skip to content

Commit 643e877

Browse files
committed
minor #1082 Update BlogControllerTest.php (DurandSacha)
This PR was squashed before being merged into the master branch (closes #1082). Discussion ---------- Update BlogControllerTest.php Adding a verification, does the index send an HTTP 200 code ? Commits ------- fd3e3e8 Update BlogControllerTest.php
2 parents 2bfa530 + fd3e3e8 commit 643e877

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/Controller/BlogControllerTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ public function testIndex()
3636
$crawler->filter('article.post'),
3737
'The homepage displays the right number of posts.'
3838
);
39+
$this->assertResponseIsSuccessful();
3940
}
4041

4142
public function testRss()

0 commit comments

Comments
 (0)