Added notmatches operator for tagging rule

This commit is contained in:
Nicolas Lœuillet
2017-04-20 14:58:20 +02:00
parent 64f1d8f77a
commit fdd725f58c
32 changed files with 125 additions and 48 deletions

View File

@ -270,7 +270,7 @@ class EntryControllerTest extends WallabagCoreTestCase
->findOneByUrl($url);
$tags = $entry->getTags();
$this->assertCount(1, $tags);
$this->assertCount(2, $tags);
$this->assertEquals('wallabag', $tags[0]->getLabel());
$em->remove($entry);
@ -299,8 +299,8 @@ class EntryControllerTest extends WallabagCoreTestCase
$tags = $entry->getTags();
$this->assertCount(1, $tags);
$this->assertEquals('wallabag', $tags[0]->getLabel());
$this->assertCount(2, $tags);
$this->assertEquals('wallabag', $tags[1]->getLabel());
$em->remove($entry);
$em->flush();