summaryrefslogtreecommitdiffstats
path: root/tests/lib/Comments
diff options
context:
space:
mode:
authorJoas Schilling <213943+nickvergessen@users.noreply.github.com>2022-01-28 16:41:42 +0100
committerGitHub <noreply@github.com>2022-01-28 16:41:42 +0100
commite8c66d0f899a252ec56edcb2bfe31b8bfcc89a30 (patch)
tree8fc953e12aa25e4a999a25197e701647081375ec /tests/lib/Comments
parentc2f21b5b98e6eb6ce775e23535cac70cd0b972f8 (diff)
parentd2833a6552725dd664bd7e2fcab577ee8e7a8eec (diff)
downloadnextcloud-server-e8c66d0f899a252ec56edcb2bfe31b8bfcc89a30.tar.gz
nextcloud-server-e8c66d0f899a252ec56edcb2bfe31b8bfcc89a30.zip
Merge pull request #30794 from nextcloud/techdebt/noid/allow-to-get-comments-with-verb
Allow to get comments with a given set of verbs
Diffstat (limited to 'tests/lib/Comments')
-rw-r--r--tests/lib/Comments/FakeManager.php12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/lib/Comments/FakeManager.php b/tests/lib/Comments/FakeManager.php
index 4904fd15501..fbd13bd5193 100644
--- a/tests/lib/Comments/FakeManager.php
+++ b/tests/lib/Comments/FakeManager.php
@@ -36,6 +36,18 @@ class FakeManager implements ICommentsManager {
return [];
}
+ public function getCommentsWithVerbForObjectSinceComment(
+ string $objectType,
+ string $objectId,
+ array $verbs,
+ int $lastKnownCommentId,
+ string $sortDirection = 'asc',
+ int $limit = 30,
+ bool $includeLastKnown = false
+ ): array {
+ return [];
+ }
+
public function getNumberOfCommentsForObject($objectType, $objectId, \DateTime $notOlderThan = null, $verb = '') {
}