Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Disable captcha registration by default in tests #4839

Merged
merged 2 commits into from
Mar 11, 2019

Conversation

anoadragon453
Copy link
Member

It can be confusing that you have to explicitly disable recaptcha auth when writing tests, as it's not the default in Synapse (enable_registration_captcha is set to false in our config file). This just bit @babolivier as he spent a while debugging a new test he had written.

Suggest we set this to false by default to prevent the same from happening again.

@codecov
Copy link

codecov bot commented Mar 8, 2019

Codecov Report

Merging #4839 into develop will increase coverage by 0.01%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##           develop    #4839      +/-   ##
===========================================
+ Coverage    75.34%   75.36%   +0.01%     
===========================================
  Files          340      340              
  Lines        34920    34920              
  Branches      5717     5717              
===========================================
+ Hits         26312    26317       +5     
+ Misses        6999     6990       -9     
- Partials      1609     1613       +4

@anoadragon453 anoadragon453 requested a review from a team March 8, 2019 17:31
@anoadragon453 anoadragon453 merged commit b61ac96 into develop Mar 11, 2019
@anoadragon453 anoadragon453 deleted the anoa/no_captcha_tests branch March 11, 2019 09:58
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants