diff options
author | Aurélien <dav.aurelien@gmail.com> | 2021-02-28 19:48:08 +0100 |
---|---|---|
committer | Sean Molenaar <SMillerDev@users.noreply.github.com> | 2021-04-08 22:31:21 +0200 |
commit | d6b32cf67473ad3ad7c82504830a58bef8e94a0f (patch) | |
tree | 2ed57114caeba5a4d0025da30bf552bf25017085 /tests | |
parent | d314e8b4954cfe91cf116191269619e1f1ce39fd (diff) |
fix test findAllFeed
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/Unit/Db/ItemMapperTest.php | 5 |
1 files changed, 3 insertions, 2 deletions
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()); |