summary refs log tree commit diff
path: root/tests/rest/client/v1
diff options
context:
space:
mode:
authorDaniel Wagner-Hall <daniel@matrix.org>2016-02-03 14:42:01 +0000
committerDaniel Wagner-Hall <daniel@matrix.org>2016-02-03 14:42:01 +0000
commit5054806ec1f64fd784d9e74d73a678643d539c3f (patch)
tree56c2064c9e77f5b6644ca55e59e3e195df234e23 /tests/rest/client/v1
parentAdd macaroon inspection script (diff)
downloadsynapse-5054806ec1f64fd784d9e74d73a678643d539c3f.tar.xz
Rename config field to reflect yaml name
Diffstat (limited to 'tests/rest/client/v1')
-rw-r--r--tests/rest/client/v1/test_events.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/rest/client/v1/test_events.py b/tests/rest/client/v1/test_events.py
index b260e269ac..e9698bfdc9 100644
--- a/tests/rest/client/v1/test_events.py
+++ b/tests/rest/client/v1/test_events.py
@@ -122,7 +122,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.config.enable_registration = True
 
         hs.get_handlers().federation_handler = Mock()