Merge pull request #4839 from matrix-org/anoa/no_captcha_tests

Disable captcha registration by default in tests
pull/14/head
Andrew Morgan 6 years ago committed by GitHub
commit b61ac9660a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      changelog.d/4839.misc
  2. 1
      tests/utils.py

@ -0,0 +1 @@
Disable captcha registration by default in unit tests.

@ -115,6 +115,7 @@ def default_config(name):
config.signing_key = [MockKey()] config.signing_key = [MockKey()]
config.event_cache_size = 1 config.event_cache_size = 1
config.enable_registration = True config.enable_registration = True
config.enable_registration_captcha = False
config.macaroon_secret_key = "not even a little secret" config.macaroon_secret_key = "not even a little secret"
config.expire_access_token = False config.expire_access_token = False
config.server_name = name config.server_name = name

Loading…
Cancel
Save