1
0
Fork 0
mirror of https://github.com/wallabag/wallabag.git synced 2025-09-15 18:57:05 +00:00

Merge pull request #3047 from wallabag/add-notmatches-operator

Added notmatches operator for tagging rule
This commit is contained in:
Nicolas Lœuillet 2017-05-03 11:53:01 +02:00 committed by GitHub
commit 9c09c253fe
32 changed files with 126 additions and 51 deletions

View file

@ -337,7 +337,7 @@ class EntryRestControllerTest extends WallabagApiTestCase
$this->assertEquals(false, $content['is_starred']);
$this->assertEquals('New title for my article', $content['title']);
$this->assertEquals(1, $content['user_id']);
$this->assertCount(1, $content['tags']);
$this->assertCount(2, $content['tags']);
}
public function testPostSameEntry()
@ -356,7 +356,7 @@ class EntryRestControllerTest extends WallabagApiTestCase
$this->assertEquals('http://www.lemonde.fr/pixels/article/2015/03/28/plongee-dans-l-univers-d-ingress-le-jeu-de-google-aux-frontieres-du-reel_4601155_4408996.html', $content['url']);
$this->assertEquals(true, $content['is_archived']);
$this->assertEquals(false, $content['is_starred']);
$this->assertCount(2, $content['tags']);
$this->assertCount(3, $content['tags']);
}
public function testPostArchivedAndStarredEntry()