summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2018-07-25 20:30:00 +0200
committerGitHub <noreply@github.com>2018-07-25 20:30:00 +0200
commit61397ee091287e983d0ff345b0e43fb4a3329f19 (patch)
tree2a04e9f5076d351dc7884c6ba946c80bf002d147 /tests
parent8255faada4101b91b342bcf929d9a0e4c759cf34 (diff)
parent2dd55b0550c42355a6188554c3e217870ce37eb5 (diff)
downloadnextcloud-server-61397ee091287e983d0ff345b0e43fb4a3329f19.tar.gz
nextcloud-server-61397ee091287e983d0ff345b0e43fb4a3329f19.zip
Merge pull request #9222 from nextcloud/feature/noid/search-for-files-by-comments
Allow to search files by comments
Diffstat (limited to 'tests')
-rw-r--r--tests/lib/Comments/FakeManager.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/lib/Comments/FakeManager.php b/tests/lib/Comments/FakeManager.php
index 3ba66e96692..e758a951e8b 100644
--- a/tests/lib/Comments/FakeManager.php
+++ b/tests/lib/Comments/FakeManager.php
@@ -32,6 +32,10 @@ class FakeManager implements ICommentsManager {
public function getNumberOfCommentsForObject($objectType, $objectId, \DateTime $notOlderThan = null) {}
+ public function search(string $search, string $objectType, string $objectId, string $verb, int $offset, int $limit = 50): array {
+ return [];
+ }
+
public function create($actorType, $actorId, $objectType, $objectId) {}
public function delete($id) {}