summaryrefslogtreecommitdiffstats
path: root/tests/lib/Comments
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2018-07-30 09:41:51 +0200
committerJoas Schilling <coding@schilljs.com>2018-07-30 09:41:51 +0200
commit66945f95749adcb4670a82156edc376dc4aa5b93 (patch)
tree3ebd440527c0984030c3b4f1c074673b989b1c43 /tests/lib/Comments
parent566800b29c3376ede04439a92545059146f99505 (diff)
downloadnextcloud-server-66945f95749adcb4670a82156edc376dc4aa5b93.tar.gz
nextcloud-server-66945f95749adcb4670a82156edc376dc4aa5b93.zip
Allow to filter the unread count by verb
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'tests/lib/Comments')
-rw-r--r--tests/lib/Comments/FakeManager.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib/Comments/FakeManager.php b/tests/lib/Comments/FakeManager.php
index e758a951e8b..9078226afb5 100644
--- a/tests/lib/Comments/FakeManager.php
+++ b/tests/lib/Comments/FakeManager.php
@@ -30,7 +30,7 @@ class FakeManager implements ICommentsManager {
int $limit = 30
): array { return []; }
- public function getNumberOfCommentsForObject($objectType, $objectId, \DateTime $notOlderThan = null) {}
+ public function getNumberOfCommentsForObject($objectType, $objectId, \DateTime $notOlderThan = null, $verb = '') {}
public function search(string $search, string $objectType, string $objectId, string $verb, int $offset, int $limit = 50): array {
return [];