diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/lib/Comments/FakeManager.php | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/lib/Comments/FakeManager.php b/tests/lib/Comments/FakeManager.php index fbd13bd5193..5406df96a96 100644 --- a/tests/lib/Comments/FakeManager.php +++ b/tests/lib/Comments/FakeManager.php @@ -2,6 +2,7 @@ namespace Test\Comments; +use OC\Comments\Comment; use OCP\Comments\IComment; use OCP\Comments\ICommentsManager; use OCP\IUser; @@ -61,6 +62,22 @@ class FakeManager implements ICommentsManager { public function delete($id) { } + public function getReactionComment(int $parentId, string $actorType, string $actorId, string $reaction): IComment { + return new Comment(); + } + + public function retrieveAllReactions(int $parentId): array { + return []; + } + + public function retrieveAllReactionsWithSpecificReaction(int $parentId, string $reaction): array { + return []; + } + + public function supportReactions(): bool { + return false; + } + public function save(IComment $comment) { } |