summary refs log tree commit diff
path: root/tests/rest
diff options
context:
space:
mode:
authorKegan Dougal <kegan@matrix.org>2014-09-05 23:41:18 -0700
committerKegan Dougal <kegan@matrix.org>2014-09-05 23:41:18 -0700
commit027f51763e6eb204096a8b96252efb99724990a9 (patch)
tree0198a1976ce61b13ede98fc7449c4348dddcb3d4 /tests/rest
parentAdded captcha support on both the HS and web client. (diff)
downloadsynapse-027f51763e6eb204096a8b96252efb99724990a9.tar.xz
Unit tests do not need captchas.
Diffstat (limited to 'tests/rest')
-rw-r--r--tests/rest/test_events.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/rest/test_events.py b/tests/rest/test_events.py
index 1dccf4c503..fd2224f55f 100644
--- a/tests/rest/test_events.py
+++ b/tests/rest/test_events.py
@@ -145,6 +145,7 @@ class EventStreamPermissionsTestCase(RestTestCase):
         )
         self.ratelimiter = hs.get_ratelimiter()
         self.ratelimiter.send_message.return_value = (True, 0)
+        hs.config.enable_registration_captcha = False
 
         hs.get_handlers().federation_handler = Mock()