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

Disable captcha registration by default in tests
This commit is contained in:
Andrew Morgan 2019-03-11 09:58:43 +00:00 committed by GitHub
commit b61ac9660a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

1
changelog.d/4839.misc Normal file
View File

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

View File

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