Alias Kocaptcha in the test
[akkoma] / config / test.exs
index 5c6acfead9b7bf1ed6ba96e0d5b1ef3d3c6a3ec0..5670e11a0411b4de661a251baa06d8b06aea7b0f 100644 (file)
@@ -6,6 +6,12 @@ config :pleroma, Pleroma.Web.Endpoint,
   http: [port: 4001],
   server: false
 
+# Disable captha for tests
+config :pleroma, Pleroma.Captcha,
+  enabled: true,
+  # A fake captcha service for tests
+  method: Pleroma.Captcha.Mock
+
 # Print only warnings and errors during test
 config :logger, level: :warn