X-Git-Url: http://git.squeep.com/?a=blobdiff_plain;f=config%2Ftest.exs;h=67ed4737f12c7aa03dccb5a17574a330f47fa5fe;hb=4c99b6d35abe2beb184a12f7cba6f84a0fc6a27a;hp=ca10a616c244d7547055d4d48798ca1e5673d04e;hpb=88f92693f25c34f8ab82d4ed809b266bf5fb9ff8;p=akkoma diff --git a/config/test.exs b/config/test.exs index ca10a616c..67ed4737f 100644 --- a/config/test.exs +++ b/config/test.exs @@ -4,13 +4,23 @@ use Mix.Config # you can enable the server option below. config :pleroma, Pleroma.Web.Endpoint, http: [port: 4001], - server: false + url: [port: 4001], + server: true + +# Disable captha for tests +config :pleroma, Pleroma.Captcha, + # It should not be enabled for automatic tests + enabled: false, + # A fake captcha service for tests + method: Pleroma.Captcha.Mock # Print only warnings and errors during test config :logger, level: :warn config :pleroma, Pleroma.Uploaders.Local, uploads: "test/uploads" +config :pleroma, Pleroma.Mailer, adapter: Swoosh.Adapters.Test + # Configure your database config :pleroma, Pleroma.Repo, adapter: Ecto.Adapters.Postgres,