From 027f51763e6eb204096a8b96252efb99724990a9 Mon Sep 17 00:00:00 2001 From: Kegan Dougal Date: Fri, 5 Sep 2014 23:41:18 -0700 Subject: Unit tests do not need captchas. --- tests/rest/test_events.py | 1 + 1 file changed, 1 insertion(+) (limited to 'tests/rest') 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() -- cgit 1.4.1