summaryrefslogtreecommitdiffstats
path: root/tests/integration/db/ItemMapperTest.php
diff options
context:
space:
mode:
authorBernhard Posselt <bernhard@posselt.at>2015-11-28 14:19:51 +0100
committerBernhard Posselt <bernhard@posselt.at>2015-11-28 14:19:51 +0100
commit30e66657b8709e95240da4f252a3fce6797acfda (patch)
tree5fad4b3ed44675e72d26be22d4b914bf99f961b2 /tests/integration/db/ItemMapperTest.php
parent911af7d64402f86383b13eac832c8bd9a6a0556e (diff)
also read duplicate feed items read
Diffstat (limited to 'tests/integration/db/ItemMapperTest.php')
-rw-r--r--tests/integration/db/ItemMapperTest.php4
1 files changed, 2 insertions, 2 deletions
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));
}