summaryrefslogtreecommitdiffstats
path: root/tests/Unit/Db/ItemMapperTest.php
diff options
context:
space:
mode:
authorAurélien <dav.aurelien@gmail.com>2021-02-28 19:30:48 +0100
committerSean Molenaar <SMillerDev@users.noreply.github.com>2021-04-08 22:31:21 +0200
commit319b15a655af6ac0186f55be0d1fffb0f8604d96 (patch)
tree0f0d7b4b9f7a685f41b660e95ca9d519352ce0ba /tests/Unit/Db/ItemMapperTest.php
parent8b51ee583e9ff455790490592d5bc5d9b94f360b (diff)
Fix test findAllFolderHideReadInvertOrder
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
Diffstat (limited to 'tests/Unit/Db/ItemMapperTest.php')
-rw-r--r--tests/Unit/Db/ItemMapperTest.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/Unit/Db/ItemMapperTest.php b/tests/Unit/Db/ItemMapperTest.php
index b71285e53..5d0e06fbe 100644
--- a/tests/Unit/Db/ItemMapperTest.php
+++ b/tests/Unit/Db/ItemMapperTest.php
@@ -1751,10 +1751,11 @@ class ItemMapperTest extends MapperTestUtility
->withConsecutive(['items', 'news_feeds', 'feeds', 'items.feed_id = feeds.id'])
->will($this->returnSelf());
- $this->builder->expects($this->exactly(3))
+ $this->builder->expects($this->exactly(4))
->method('andWhere')
->withConsecutive(
['feeds.user_id = :userId'],
+ ['items.shared_by = \'\''],
['x IS NULL'],
['items.unread = 1']
)