summaryrefslogtreecommitdiffstats
path: root/tests/lib
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2020-10-30 12:10:59 +0100
committerRoeland Jago Douma <roeland@famdouma.nl>2020-11-04 11:01:21 +0100
commitede75108548febed0e9fb0b56595529927866721 (patch)
treec6b6074a72175b3096ea13dcf5d438396206bcca /tests/lib
parent8eb0db5078944f8d0bea8b641f69437acf59e9ab (diff)
downloadnextcloud-server-ede75108548febed0e9fb0b56595529927866721.tar.gz
nextcloud-server-ede75108548febed0e9fb0b56595529927866721.zip
Add a function to get the unread count for multiple objects in one go
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'tests/lib')
-rw-r--r--tests/lib/Comments/FakeManager.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/lib/Comments/FakeManager.php b/tests/lib/Comments/FakeManager.php
index 29fb3934362..2434945762c 100644
--- a/tests/lib/Comments/FakeManager.php
+++ b/tests/lib/Comments/FakeManager.php
@@ -82,6 +82,11 @@ class FakeManager implements ICommentsManager {
public function getNumberOfUnreadCommentsForFolder($folderId, IUser $user) {
}
+ public function getNumberOfUnreadCommentsForObjects(string $objectType, array $objectIds, IUser $user, $verb = ''): array {
+ return [];
+ }
+
+
public function getActorsInTree($id) {
}