1
0
Fork 0
mirror of https://github.com/wallabag/wallabag.git synced 2025-09-15 18:57:05 +00:00

Add a quick test

This commit is contained in:
Kévin Gomez 2015-11-13 21:23:39 +01:00
parent aeff8aa765
commit 958671a7ae
3 changed files with 44 additions and 1 deletions

View file

@ -505,7 +505,7 @@ class ConfigControllerTest extends WallabagCoreTestCase
$this->assertGreaterThan(1, $alert = $crawler->filter('div.messages.success')->extract(array('_text')));
$this->assertContains('Tagging rules updated', $alert[0]);
$deleteLink = $crawler->filter('.delete')->eq(0)->link();
$deleteLink = $crawler->filter('.delete')->last()->link();
$crawler = $client->click($deleteLink);
$this->assertEquals(302, $client->getResponse()->getStatusCode());