summaryrefslogtreecommitdiffstats
path: root/tests/lib/Comments
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@arthur-schiwon.de>2016-10-20 14:32:32 +0200
committerArthur Schiwon <blizzz@arthur-schiwon.de>2016-10-20 14:32:32 +0200
commite5ce61b174bfe01c0ee51ff61e362f385c4cfd07 (patch)
tree6901cb527662b868d76ed4687ffd2a58b3488506 /tests/lib/Comments
parent763a99ec30b6a4acfd844261e49e906099726541 (diff)
downloadnextcloud-server-e5ce61b174bfe01c0ee51ff61e362f385c4cfd07.tar.gz
nextcloud-server-e5ce61b174bfe01c0ee51ff61e362f385c4cfd07.zip
add missing methods to test fake manager
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
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 7cd146e7cb2..dfb8f21b64b 100644
--- a/tests/lib/Comments/FakeManager.php
+++ b/tests/lib/Comments/FakeManager.php
@@ -40,4 +40,8 @@ class FakeManager implements \OCP\Comments\ICommentsManager {
public function deleteReadMarksOnObject($objectType, $objectId) {}
public function registerEventHandler(\Closure $closure) {}
+
+ public function registerDisplayNameResolver($type, \Closure $closure) {}
+
+ public function resolveDisplayName($type, $id) {}
}