diff options
author | Jeremy Benoist <jeremy.benoist@gmail.com> | 2016-11-07 08:36:52 +0100 |
---|---|---|
committer | Jeremy Benoist <jeremy.benoist@gmail.com> | 2016-11-07 08:36:52 +0100 |
commit | 94060509b89671d79967e8496dd14626b4e0ba30 (patch) | |
tree | e1df3a111ca8f307245a6652ed944e77e889b7e3 /tests/Wallabag | |
parent | 2e4efb596544fa9c2071653af16d3a87bb3eaacc (diff) | |
download | wallabag-94060509b89671d79967e8496dd14626b4e0ba30.tar.gz wallabag-94060509b89671d79967e8496dd14626b4e0ba30.tar.zst wallabag-94060509b89671d79967e8496dd14626b4e0ba30.zip |
Use more explicit check
Diffstat (limited to 'tests/Wallabag')
-rw-r--r-- | tests/Wallabag/CoreBundle/Controller/ConfigControllerTest.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/Wallabag/CoreBundle/Controller/ConfigControllerTest.php b/tests/Wallabag/CoreBundle/Controller/ConfigControllerTest.php index 8d0644d1..568576a3 100644 --- a/tests/Wallabag/CoreBundle/Controller/ConfigControllerTest.php +++ b/tests/Wallabag/CoreBundle/Controller/ConfigControllerTest.php | |||
@@ -412,7 +412,7 @@ class ConfigControllerTest extends WallabagCoreTestCase | |||
412 | 412 | ||
413 | $crawler = $client->request('GET', '/config'); | 413 | $crawler = $client->request('GET', '/config'); |
414 | 414 | ||
415 | $this->assertTrue($client->getResponse()->isSuccessful()); | 415 | $this->assertEquals(200, $client->getResponse()->getStatusCode()); |
416 | 416 | ||
417 | $form = $crawler->filter('button[id=tagging_rule_save]')->form(); | 417 | $form = $crawler->filter('button[id=tagging_rule_save]')->form(); |
418 | 418 | ||
@@ -499,7 +499,7 @@ class ConfigControllerTest extends WallabagCoreTestCase | |||
499 | 499 | ||
500 | $crawler = $client->request('GET', '/config'); | 500 | $crawler = $client->request('GET', '/config'); |
501 | 501 | ||
502 | $this->assertTrue($client->getResponse()->isSuccessful()); | 502 | $this->assertEquals(200, $client->getResponse()->getStatusCode()); |
503 | 503 | ||
504 | $form = $crawler->filter('button[id=tagging_rule_save]')->form(); | 504 | $form = $crawler->filter('button[id=tagging_rule_save]')->form(); |
505 | 505 | ||