summaryrefslogtreecommitdiffstats
path: root/tests/integration/db
diff options
context:
space:
mode:
authorBernhard Posselt <dev@bernhard-posselt.com>2015-11-28 15:30:35 +0100
committerBernhard Posselt <dev@bernhard-posselt.com>2015-11-28 15:30:35 +0100
commit72e599bc87753e31bb9d161d341b7f95bd671658 (patch)
tree69b99f6a08534948e6625c01ef10f9ea704e14cb /tests/integration/db
parent6ca631ff5c0b7d3fef16604ee4ed87354e3bbf72 (diff)
Revert "also read duplicate feed items read"
Diffstat (limited to 'tests/integration/db')
-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 89fe98ebf..dcd101a9f 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(2, count($items));
+ $this->assertEquals(1, 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(5, count($items));
+ $this->assertEquals(4, count($items));
}