diff options
Diffstat (limited to 'tests/Wallabag')
-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 | } |