diff options
author | ArthurHoaro <arthur@hoa.ro> | 2020-05-16 13:13:00 +0200 |
---|---|---|
committer | ArthurHoaro <arthur@hoa.ro> | 2020-07-23 21:19:21 +0200 |
commit | c79473bd84ab5aba7836d2caaf61847cabaf1e53 (patch) | |
tree | d4b730c015a91c1f390e4153c82cdf0395cf90af /tests/front/controller | |
parent | 72caf4e84c412ab6a4181b83a96dbef8ebb3c65a (diff) | |
download | Shaarli-c79473bd84ab5aba7836d2caaf61847cabaf1e53.tar.gz Shaarli-c79473bd84ab5aba7836d2caaf61847cabaf1e53.tar.zst Shaarli-c79473bd84ab5aba7836d2caaf61847cabaf1e53.zip |
Handle tag filtering in the Bookmark service
Diffstat (limited to 'tests/front/controller')
-rw-r--r-- | tests/front/controller/TagCloudControllerTest.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/front/controller/TagCloudControllerTest.php b/tests/front/controller/TagCloudControllerTest.php index a76d5835..5cbf06a9 100644 --- a/tests/front/controller/TagCloudControllerTest.php +++ b/tests/front/controller/TagCloudControllerTest.php | |||
@@ -127,8 +127,8 @@ class TagCloudControllerTest extends TestCase | |||
127 | ->expects(static::once()) | 127 | ->expects(static::once()) |
128 | ->method('bookmarksCountPerTag') | 128 | ->method('bookmarksCountPerTag') |
129 | ->with(['ghi', 'def'], BookmarkFilter::$PRIVATE) | 129 | ->with(['ghi', 'def'], BookmarkFilter::$PRIVATE) |
130 | ->willReturnCallback(function () use ($allTags): array { | 130 | ->willReturnCallback(function (): array { |
131 | return $allTags; | 131 | return ['abc' => 3]; |
132 | }) | 132 | }) |
133 | ; | 133 | ; |
134 | 134 | ||