diff options
author | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2017-05-03 11:53:01 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-03 11:53:01 +0200 |
commit | 9c09c253fea8d618f1be110677a1a9c76e3afdcd (patch) | |
tree | 37c00c043d2ead9e49f93fa3e1544d3d4aceffda /tests/Wallabag/ApiBundle/Controller | |
parent | dfa0822f197991f96d427112c23abd460198817d (diff) | |
parent | a162b1a99b0bd4ccebbd129170d043a621bed710 (diff) | |
download | wallabag-9c09c253fea8d618f1be110677a1a9c76e3afdcd.tar.gz wallabag-9c09c253fea8d618f1be110677a1a9c76e3afdcd.tar.zst wallabag-9c09c253fea8d618f1be110677a1a9c76e3afdcd.zip |
Merge pull request #3047 from wallabag/add-notmatches-operator
Added notmatches operator for tagging rule
Diffstat (limited to 'tests/Wallabag/ApiBundle/Controller')
-rw-r--r-- | tests/Wallabag/ApiBundle/Controller/EntryRestControllerTest.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/Wallabag/ApiBundle/Controller/EntryRestControllerTest.php b/tests/Wallabag/ApiBundle/Controller/EntryRestControllerTest.php index 19fb5170..e6ffd664 100644 --- a/tests/Wallabag/ApiBundle/Controller/EntryRestControllerTest.php +++ b/tests/Wallabag/ApiBundle/Controller/EntryRestControllerTest.php | |||
@@ -337,7 +337,7 @@ class EntryRestControllerTest extends WallabagApiTestCase | |||
337 | $this->assertEquals(false, $content['is_starred']); | 337 | $this->assertEquals(false, $content['is_starred']); |
338 | $this->assertEquals('New title for my article', $content['title']); | 338 | $this->assertEquals('New title for my article', $content['title']); |
339 | $this->assertEquals(1, $content['user_id']); | 339 | $this->assertEquals(1, $content['user_id']); |
340 | $this->assertCount(1, $content['tags']); | 340 | $this->assertCount(2, $content['tags']); |
341 | } | 341 | } |
342 | 342 | ||
343 | public function testPostSameEntry() | 343 | public function testPostSameEntry() |
@@ -356,7 +356,7 @@ class EntryRestControllerTest extends WallabagApiTestCase | |||
356 | $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']); | 356 | $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']); |
357 | $this->assertEquals(true, $content['is_archived']); | 357 | $this->assertEquals(true, $content['is_archived']); |
358 | $this->assertEquals(false, $content['is_starred']); | 358 | $this->assertEquals(false, $content['is_starred']); |
359 | $this->assertCount(2, $content['tags']); | 359 | $this->assertCount(3, $content['tags']); |
360 | } | 360 | } |
361 | 361 | ||
362 | public function testPostArchivedAndStarredEntry() | 362 | public function testPostArchivedAndStarredEntry() |