mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-10-01 08:25:44 -04:00
Unit tests do not need captchas.
This commit is contained in:
parent
1a298aad9c
commit
027f51763e
@ -145,6 +145,7 @@ class EventStreamPermissionsTestCase(RestTestCase):
|
|||||||
)
|
)
|
||||||
self.ratelimiter = hs.get_ratelimiter()
|
self.ratelimiter = hs.get_ratelimiter()
|
||||||
self.ratelimiter.send_message.return_value = (True, 0)
|
self.ratelimiter.send_message.return_value = (True, 0)
|
||||||
|
hs.config.enable_registration_captcha = False
|
||||||
|
|
||||||
hs.get_handlers().federation_handler = Mock()
|
hs.get_handlers().federation_handler = Mock()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user