aboutsummaryrefslogtreecommitdiffstats
path: root/tests/lib/Comments
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2018-04-18 11:29:49 +0200
committerDaniel Calviño Sánchez <danxuliu@gmail.com>2018-07-25 18:53:44 +0200
commit8c7969e7301cb88dc6a94565ef8903c70117e750 (patch)
treeb6b8026ac451449f4137feb9115b26628d86ec62 /tests/lib/Comments
parent80207d72fa5de7b88dd8fd180acc528a3d9fa8da (diff)
downloadnextcloud-server-8c7969e7301cb88dc6a94565ef8903c70117e750.tar.gz
nextcloud-server-8c7969e7301cb88dc6a94565ef8903c70117e750.zip
Allow to search by comments
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'tests/lib/Comments')
-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..62a44a53f11 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): array {
+ return [];
+ }
+
public function create($actorType, $actorId, $objectType, $objectId) {}
public function delete($id) {}