diff options
author | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2016-09-08 16:00:39 +0200 |
---|---|---|
committer | Jeremy Benoist <jeremy.benoist@gmail.com> | 2016-10-08 13:27:18 +0200 |
commit | 71254701b7e5364516b7510e9237c00c678dac1c (patch) | |
tree | fef99fa36e318346b5b861039aa18333c675fbfa /tests/Wallabag/CoreBundle/Controller | |
parent | 821bb8768507a16a28e7f98143aba5218691c18b (diff) | |
download | wallabag-71254701b7e5364516b7510e9237c00c678dac1c.tar.gz wallabag-71254701b7e5364516b7510e9237c00c678dac1c.tar.zst wallabag-71254701b7e5364516b7510e9237c00c678dac1c.zip |
Changed tests
Diffstat (limited to 'tests/Wallabag/CoreBundle/Controller')
-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 23e7e786..282bf570 100644 --- a/tests/Wallabag/CoreBundle/Controller/ConfigControllerTest.php +++ b/tests/Wallabag/CoreBundle/Controller/ConfigControllerTest.php | |||
@@ -639,7 +639,7 @@ class ConfigControllerTest extends WallabagCoreTestCase | |||
639 | 639 | ||
640 | $crawler = $client->request('GET', '/config'); | 640 | $crawler = $client->request('GET', '/config'); |
641 | 641 | ||
642 | $deleteLink = $crawler->filter('.red')->last()->link(); | 642 | $deleteLink = $crawler->filter('.delete-account')->last()->link(); |
643 | 643 | ||
644 | $client->click($deleteLink); | 644 | $client->click($deleteLink); |
645 | $this->assertEquals(302, $client->getResponse()->getStatusCode()); | 645 | $this->assertEquals(302, $client->getResponse()->getStatusCode()); |
@@ -653,6 +653,6 @@ class ConfigControllerTest extends WallabagCoreTestCase | |||
653 | ->getOneOrNullResult() | 653 | ->getOneOrNullResult() |
654 | ; | 654 | ; |
655 | 655 | ||
656 | $this->assertTrue(false !== $user); | 656 | $this->assertNull($user); |
657 | } | 657 | } |
658 | } | 658 | } |