From 30e66657b8709e95240da4f252a3fce6797acfda Mon Sep 17 00:00:00 2001 From: Bernhard Posselt Date: Sat, 28 Nov 2015 14:19:51 +0100 Subject: also read duplicate feed items read --- tests/integration/db/ItemMapperTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/integration/db/ItemMapperTest.php') diff --git a/tests/integration/db/ItemMapperTest.php b/tests/integration/db/ItemMapperTest.php index dcd101a9f..89fe98ebf 100644 --- a/tests/integration/db/ItemMapperTest.php +++ b/tests/integration/db/ItemMapperTest.php @@ -133,7 +133,7 @@ class ItemMapperTest extends NewsIntegrationTest { 30, 0, $status, false, $this->userId ); - $this->assertEquals(1, count($items)); + $this->assertEquals(2, count($items)); $item = $this->items['a title1']; $item = $this->itemMapper->find($item->getId(), $this->userId); @@ -210,7 +210,7 @@ class ItemMapperTest extends NewsIntegrationTest { public function testFindAllUnreadOrStarred () { $items = $this->itemMapper->findAllUnreadOrStarred($this->userId); - $this->assertEquals(4, count($items)); + $this->assertEquals(5, count($items)); } -- cgit v1.2.3