aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/Wallabag/CoreBundle/Controller/EntryControllerTest.php
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas@loeuillet.org>2017-04-20 14:58:20 +0200
committerNicolas LÅ“uillet <nicolas@loeuillet.org>2017-04-20 15:17:02 +0200
commitfdd725f58cfe96d9bb9454d0347f6ff847fce69d (patch)
tree7f70e8d3b766d8a8ffc7cd807ca7a2a16d5f2bda /tests/Wallabag/CoreBundle/Controller/EntryControllerTest.php
parent64f1d8f77a75332b731124c5ebab4bed7a512081 (diff)
downloadwallabag-fdd725f58cfe96d9bb9454d0347f6ff847fce69d.tar.gz
wallabag-fdd725f58cfe96d9bb9454d0347f6ff847fce69d.tar.zst
wallabag-fdd725f58cfe96d9bb9454d0347f6ff847fce69d.zip
Added notmatches operator for tagging rule
Diffstat (limited to 'tests/Wallabag/CoreBundle/Controller/EntryControllerTest.php')
-rw-r--r--tests/Wallabag/CoreBundle/Controller/EntryControllerTest.php6
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();