Unit tests do not need captchas.

pull/10/head
Kegan Dougal 2014-09-05 23:41:18 -07:00
parent 1a298aad9c
commit 027f51763e
1 changed files with 1 additions and 0 deletions

View File

@ -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()