Add a captcha mock for tests
This commit is contained in:
parent
98e10c0d4f
commit
e8537208bd
2 changed files with 15 additions and 0 deletions
|
|
@ -6,6 +6,11 @@ config :pleroma, Pleroma.Web.Endpoint,
|
|||
http: [port: 4001],
|
||||
server: false
|
||||
|
||||
# Disable captha for tests
|
||||
config :pleroma, Pleroma.Captcha,
|
||||
enabled: true,
|
||||
method: Pleroma.Captcha.Mock # A fake captcha service for tests
|
||||
|
||||
# Print only warnings and errors during test
|
||||
config :logger, level: :warn
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue