aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas@loeuillet.org>2016-08-26 21:01:56 +0200
committerJeremy Benoist <jeremy.benoist@gmail.com>2016-08-28 14:44:00 +0200
commitd5d161215390ca6465d246a77b485ab64efa842e (patch)
tree3933af4bda3a5624c165a55918e5d85810e4f0c2
parentb6520f0b15ac35215e2d94d16a31ea971874dce8 (diff)
downloadwallabag-d5d161215390ca6465d246a77b485ab64efa842e.tar.gz
wallabag-d5d161215390ca6465d246a77b485ab64efa842e.tar.zst
wallabag-d5d161215390ca6465d246a77b485ab64efa842e.zip
Add tests for untagged entries
-rw-r--r--tests/Wallabag/CoreBundle/Controller/EntryControllerTest.php10
1 files changed, 10 insertions, 0 deletions
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
236 $this->assertEquals(200, $client->getResponse()->getStatusCode()); 236 $this->assertEquals(200, $client->getResponse()->getStatusCode());
237 } 237 }
238 238
239 public function testUntagged()
240 {
241 $this->logInAs('admin');
242 $client = $this->getClient();
243
244 $client->request('GET', '/untagged/list');
245
246 $this->assertEquals(200, $client->getResponse()->getStatusCode());
247 }
248
239 public function testStarred() 249 public function testStarred()
240 { 250 {
241 $this->logInAs('admin'); 251 $this->logInAs('admin');