diff options
Diffstat (limited to 'tests/Wallabag/CoreBundle/Controller/EntryControllerTest.php')
-rw-r--r-- | tests/Wallabag/CoreBundle/Controller/EntryControllerTest.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/Wallabag/CoreBundle/Controller/EntryControllerTest.php b/tests/Wallabag/CoreBundle/Controller/EntryControllerTest.php index d26a56f8..35438c83 100644 --- a/tests/Wallabag/CoreBundle/Controller/EntryControllerTest.php +++ b/tests/Wallabag/CoreBundle/Controller/EntryControllerTest.php | |||
@@ -270,7 +270,7 @@ class EntryControllerTest extends WallabagCoreTestCase | |||
270 | ->findOneByUrl($url); | 270 | ->findOneByUrl($url); |
271 | $tags = $entry->getTags(); | 271 | $tags = $entry->getTags(); |
272 | 272 | ||
273 | $this->assertCount(1, $tags); | 273 | $this->assertCount(2, $tags); |
274 | $this->assertEquals('wallabag', $tags[0]->getLabel()); | 274 | $this->assertEquals('wallabag', $tags[0]->getLabel()); |
275 | 275 | ||
276 | $em->remove($entry); | 276 | $em->remove($entry); |
@@ -299,8 +299,8 @@ class EntryControllerTest extends WallabagCoreTestCase | |||
299 | 299 | ||
300 | $tags = $entry->getTags(); | 300 | $tags = $entry->getTags(); |
301 | 301 | ||
302 | $this->assertCount(1, $tags); | 302 | $this->assertCount(2, $tags); |
303 | $this->assertEquals('wallabag', $tags[0]->getLabel()); | 303 | $this->assertEquals('wallabag', $tags[1]->getLabel()); |
304 | 304 | ||
305 | $em->remove($entry); | 305 | $em->remove($entry); |
306 | $em->flush(); | 306 | $em->flush(); |