aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/Wallabag/CoreBundle/Tests/Controller/EntryControllerTest.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/Wallabag/CoreBundle/Tests/Controller/EntryControllerTest.php b/src/Wallabag/CoreBundle/Tests/Controller/EntryControllerTest.php
index 9f2bcd6c..af62aee8 100644
--- a/src/Wallabag/CoreBundle/Tests/Controller/EntryControllerTest.php
+++ b/src/Wallabag/CoreBundle/Tests/Controller/EntryControllerTest.php
@@ -131,7 +131,10 @@ class EntryControllerTest extends WallabagCoreTestCase
131 $entry = $em 131 $entry = $em
132 ->getRepository('WallabagCoreBundle:Entry') 132 ->getRepository('WallabagCoreBundle:Entry')
133 ->findOneByUrl($url); 133 ->findOneByUrl($url);
134 $this->assertCount(1, $entry->getTags()); 134 $tags = $entry->getTags();
135
136 $this->assertCount(1, $tags);
137 $this->assertEquals('wallabag', $tags[0]->getLabel());
135 138
136 $em->remove($entry); 139 $em->remove($entry);
137 $em->flush(); 140 $em->flush();