diff options
author | Kévin Gomez <contact@kevingomez.fr> | 2015-11-13 21:23:39 +0100 |
---|---|---|
committer | Kévin Gomez <contact@kevingomez.fr> | 2015-11-13 22:53:28 +0100 |
commit | 958671a7ae2f19c4b919ed4ba0161e7d300411b4 (patch) | |
tree | ec1c31c0c8dd8638c961f12a37e7fa58732c063b /src/Wallabag/CoreBundle/Tests/Controller/ConfigControllerTest.php | |
parent | aeff8aa765579259c1427dc469ff78ebdebfc72c (diff) | |
download | wallabag-958671a7ae2f19c4b919ed4ba0161e7d300411b4.tar.gz wallabag-958671a7ae2f19c4b919ed4ba0161e7d300411b4.tar.zst wallabag-958671a7ae2f19c4b919ed4ba0161e7d300411b4.zip |
Add a quick test
Diffstat (limited to 'src/Wallabag/CoreBundle/Tests/Controller/ConfigControllerTest.php')
-rw-r--r-- | src/Wallabag/CoreBundle/Tests/Controller/ConfigControllerTest.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Wallabag/CoreBundle/Tests/Controller/ConfigControllerTest.php b/src/Wallabag/CoreBundle/Tests/Controller/ConfigControllerTest.php index 4eb67ffd..7b32354f 100644 --- a/src/Wallabag/CoreBundle/Tests/Controller/ConfigControllerTest.php +++ b/src/Wallabag/CoreBundle/Tests/Controller/ConfigControllerTest.php | |||
@@ -505,7 +505,7 @@ class ConfigControllerTest extends WallabagCoreTestCase | |||
505 | $this->assertGreaterThan(1, $alert = $crawler->filter('div.messages.success')->extract(array('_text'))); | 505 | $this->assertGreaterThan(1, $alert = $crawler->filter('div.messages.success')->extract(array('_text'))); |
506 | $this->assertContains('Tagging rules updated', $alert[0]); | 506 | $this->assertContains('Tagging rules updated', $alert[0]); |
507 | 507 | ||
508 | $deleteLink = $crawler->filter('.delete')->eq(0)->link(); | 508 | $deleteLink = $crawler->filter('.delete')->last()->link(); |
509 | 509 | ||
510 | $crawler = $client->click($deleteLink); | 510 | $crawler = $client->click($deleteLink); |
511 | $this->assertEquals(302, $client->getResponse()->getStatusCode()); | 511 | $this->assertEquals(302, $client->getResponse()->getStatusCode()); |