summaryrefslogtreecommitdiffstats
path: root/tests/lib/Comments
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2018-04-19 17:12:07 +0200
committerJoas Schilling <coding@schilljs.com>2018-04-19 17:12:07 +0200
commitcccdfaa6e9e1ac02193ecfb9d253462fc3320d05 (patch)
treeafb470fdf550a5e5306411dc5ea02f25ebf6e11b /tests/lib/Comments
parent5157349b699a46eee2f84247f90b1f155ba40cd5 (diff)
downloadnextcloud-server-cccdfaa6e9e1ac02193ecfb9d253462fc3320d05.tar.gz
nextcloud-server-cccdfaa6e9e1ac02193ecfb9d253462fc3320d05.zip
Fix FakeManager
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'tests/lib/Comments')
-rw-r--r--tests/lib/Comments/FakeManager.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/lib/Comments/FakeManager.php b/tests/lib/Comments/FakeManager.php
index d3dd1dfb58a..3ba66e96692 100644
--- a/tests/lib/Comments/FakeManager.php
+++ b/tests/lib/Comments/FakeManager.php
@@ -22,6 +22,14 @@ class FakeManager implements ICommentsManager {
\DateTime $notOlderThan = null
) {}
+ public function getForObjectSince(
+ string $objectType,
+ string $objectId,
+ int $lastKnownCommentId,
+ string $sortDirection = 'asc',
+ int $limit = 30
+ ): array { return []; }
+
public function getNumberOfCommentsForObject($objectType, $objectId, \DateTime $notOlderThan = null) {}
public function create($actorType, $actorId, $objectType, $objectId) {}