summary refs log tree commit diff
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2014-09-02 11:03:03 +0100
committerErik Johnston <erik@matrix.org>2014-09-02 11:03:03 +0100
commita808c06a105a68afcc125501be8f2c6c20b27021 (patch)
tree5c0bbdd4b09eaa39f83289025b152395db4828db
parentImplement auth for kicking. (diff)
downloadsynapse-a808c06a105a68afcc125501be8f2c6c20b27021.tar.xz
Fix room permissions test
Diffstat (limited to '')
-rw-r--r--tests/utils.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/utils.py b/tests/utils.py
index 2c146eab55..aa7e499e15 100644
--- a/tests/utils.py
+++ b/tests/utils.py
@@ -247,6 +247,9 @@ class MemoryDataStore(object):
         # TODO (erikj): This should be configurable
         return defer.succeed("invite")
 
+    def get_ops_levels(self, room_id):
+        return defer.succeed((5, 5))
+
 
 def _format_call(args, kwargs):
     return ", ".join(