Specifically disable captcha for automatic tests, it makes them fail
authorEkaterina Vaartis <vaartis@cock.li>
Sat, 22 Dec 2018 20:07:44 +0000 (23:07 +0300)
committerEkaterina Vaartis <vaartis@cock.li>
Sat, 22 Dec 2018 20:07:44 +0000 (23:07 +0300)
config/test.exs

index 51aace4077debd3dfa1d567dc8968825388ad473..67ed4737f12c7aa03dccb5a17574a330f47fa5fe 100644 (file)
@@ -9,7 +9,8 @@ config :pleroma, Pleroma.Web.Endpoint,
 
 # Disable captha for tests
 config :pleroma, Pleroma.Captcha,
-  enabled: true,
+  # It should not be enabled for automatic tests
+  enabled: false,
   # A fake captcha service for tests
   method: Pleroma.Captcha.Mock