summary refs log tree commit diff
path: root/tests/rest/client/v1/test_events.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2015-02-20 11:43:24 +0000
committerErik Johnston <erik@matrix.org>2015-02-20 11:43:24 +0000
commite944b767d7cffdb65c96863b1ebba2cceb6d3166 (patch)
tree9d684e2f0e4dce58e295a0623392a29a5bd4a5e2 /tests/rest/client/v1/test_events.py
parentUpdate CHANGES.rst with missing changes (diff)
parentAlways allow AS to register (diff)
downloadsynapse-e944b767d7cffdb65c96863b1ebba2cceb6d3166.tar.xz
Merge pull request #84 from matrix-org/disable_registration
Disable Registration Config Option
Diffstat (limited to 'tests/rest/client/v1/test_events.py')
-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()