summary refs log tree commit diff
path: root/tests/rest
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2015-02-19 14:34:32 +0000
committerErik Johnston <erik@matrix.org>2015-02-19 14:34:32 +0000
commit5f4c28d313ce854e0ac943b100412878c4ef8dd9 (patch)
tree502ddb19354ce93f604be8d9d4330817065bf18f /tests/rest
parentDisable registration if config option was set. (diff)
downloadsynapse-5f4c28d313ce854e0ac943b100412878c4ef8dd9.tar.xz
Update tests
Diffstat (limited to 'tests/rest')
-rw-r--r--tests/rest/client/v1/test_events.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/rest/client/v1/test_events.py b/tests/rest/client/v1/test_events.py
index f36340121d..36b0f2ff6d 100644
--- a/tests/rest/client/v1/test_events.py
+++ b/tests/rest/client/v1/test_events.py
@@ -128,6 +128,7 @@ class EventStreamPermissionsTestCase(RestTestCase):
         self.ratelimiter = hs.get_ratelimiter()
         self.ratelimiter.send_message.return_value = (True, 0)
         hs.config.enable_registration_captcha = False
+        hs.config.disable_registration = False
 
         hs.get_handlers().federation_handler = Mock()