mirror of
https://github.com/wallabag/wallabag.git
synced 2024-11-26 11:01:04 +00:00
Fixed tests
This commit is contained in:
parent
29308024ac
commit
aedaa50887
1 changed files with 2 additions and 2 deletions
|
@ -461,7 +461,7 @@ class ConfigControllerTest extends WallabagCoreTestCase
|
|||
|
||||
$this->assertStringContainsString('flashes.config.notice.tagging_rules_updated', $crawler->filter('body')->extract(['_text'])[0]);
|
||||
|
||||
$editLink = $crawler->filter('.edit-rule')->last()->link();
|
||||
$editLink = $crawler->filter('.mode_edit')->last()->link();
|
||||
|
||||
$crawler = $client->click($editLink);
|
||||
$this->assertSame(302, $client->getResponse()->getStatusCode());
|
||||
|
@ -486,7 +486,7 @@ class ConfigControllerTest extends WallabagCoreTestCase
|
|||
|
||||
$this->assertStringContainsString('readingTime <= 30', $crawler->filter('body')->extract(['_text'])[0]);
|
||||
|
||||
$deleteLink = $crawler->filter('.delete-rule')->last()->link();
|
||||
$deleteLink = $crawler->filter('.delete')->last()->link();
|
||||
|
||||
$crawler = $client->click($deleteLink);
|
||||
$this->assertSame(302, $client->getResponse()->getStatusCode());
|
||||
|
|
Loading…
Reference in a new issue