From: Nicolas LÅ“uillet Date: Fri, 26 Aug 2016 19:01:56 +0000 (+0200) Subject: Add tests for untagged entries X-Git-Tag: 2.1.0~52^2~1 X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=d5d161215390ca6465d246a77b485ab64efa842e;p=github%2Fwallabag%2Fwallabag.git Add tests for untagged entries --- diff --git a/tests/Wallabag/CoreBundle/Controller/EntryControllerTest.php b/tests/Wallabag/CoreBundle/Controller/EntryControllerTest.php index f9ac28c3..a74c17d9 100644 --- a/tests/Wallabag/CoreBundle/Controller/EntryControllerTest.php +++ b/tests/Wallabag/CoreBundle/Controller/EntryControllerTest.php @@ -236,6 +236,16 @@ class EntryControllerTest extends WallabagCoreTestCase $this->assertEquals(200, $client->getResponse()->getStatusCode()); } + public function testUntagged() + { + $this->logInAs('admin'); + $client = $this->getClient(); + + $client->request('GET', '/untagged/list'); + + $this->assertEquals(200, $client->getResponse()->getStatusCode()); + } + public function testStarred() { $this->logInAs('admin');