From d6b32cf67473ad3ad7c82504830a58bef8e94a0f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien?= Date: Sun, 28 Feb 2021 19:48:08 +0100 Subject: fix test findAllFeed Signed-off-by: Marco Nassabain --- tests/Unit/Db/ItemMapperTest.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'tests') diff --git a/tests/Unit/Db/ItemMapperTest.php b/tests/Unit/Db/ItemMapperTest.php index 478745329..15c968fba 100644 --- a/tests/Unit/Db/ItemMapperTest.php +++ b/tests/Unit/Db/ItemMapperTest.php @@ -1353,11 +1353,12 @@ class ItemMapperTest extends MapperTestUtility ->withConsecutive(['items', 'news_feeds', 'feeds', 'items.feed_id = feeds.id']) ->will($this->returnSelf()); - $this->builder->expects($this->exactly(2)) + $this->builder->expects($this->exactly(3)) ->method('andWhere') ->withConsecutive( ['feeds.user_id = :userId'], - ['items.feed_id = :feedId'] + ['items.feed_id = :feedId'], + ['items.shared_by = \'\''], ) ->will($this->returnSelf()); -- cgit v1.2.3