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:
parent
aeff8aa765
commit
958671a7ae
3 changed files with 44 additions and 1 deletions
|
@ -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());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue