diff options
Diffstat (limited to 'tests/Wallabag/ApiBundle')
-rw-r--r-- | tests/Wallabag/ApiBundle/Controller/EntryRestControllerTest.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/Wallabag/ApiBundle/Controller/EntryRestControllerTest.php b/tests/Wallabag/ApiBundle/Controller/EntryRestControllerTest.php index dc21bd32..c0391d87 100644 --- a/tests/Wallabag/ApiBundle/Controller/EntryRestControllerTest.php +++ b/tests/Wallabag/ApiBundle/Controller/EntryRestControllerTest.php | |||
@@ -800,7 +800,7 @@ class EntryRestControllerTest extends WallabagApiTestCase | |||
800 | $this->assertArrayHasKey($url1, $content); | 800 | $this->assertArrayHasKey($url1, $content); |
801 | $this->assertArrayHasKey($url2, $content); | 801 | $this->assertArrayHasKey($url2, $content); |
802 | $this->assertSame(2, $content[$url1]); | 802 | $this->assertSame(2, $content[$url1]); |
803 | $this->assertSame(false, $content[$url2]); | 803 | $this->assertNull($content[$url2]); |
804 | } | 804 | } |
805 | 805 | ||
806 | public function testGetEntriesExistsWithManyUrlsReturnBool() | 806 | public function testGetEntriesExistsWithManyUrlsReturnBool() |
@@ -815,8 +815,8 @@ class EntryRestControllerTest extends WallabagApiTestCase | |||
815 | 815 | ||
816 | $this->assertArrayHasKey($url1, $content); | 816 | $this->assertArrayHasKey($url1, $content); |
817 | $this->assertArrayHasKey($url2, $content); | 817 | $this->assertArrayHasKey($url2, $content); |
818 | $this->assertEquals(true, $content[$url1]); | 818 | $this->assertTrue($content[$url1]); |
819 | $this->assertEquals(false, $content[$url2]); | 819 | $this->assertFalse($content[$url2]); |
820 | } | 820 | } |
821 | 821 | ||
822 | public function testGetEntriesExistsWhichDoesNotExists() | 822 | public function testGetEntriesExistsWhichDoesNotExists() |