diff options
author | Joas Schilling <coding@schilljs.com> | 2018-04-19 17:12:07 +0200 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2018-04-19 17:12:07 +0200 |
commit | cccdfaa6e9e1ac02193ecfb9d253462fc3320d05 (patch) | |
tree | afb470fdf550a5e5306411dc5ea02f25ebf6e11b /tests/lib/Comments | |
parent | 5157349b699a46eee2f84247f90b1f155ba40cd5 (diff) | |
download | nextcloud-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.php | 8 |
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) {} |