accent/config/test.exs

16 lines
465 B
Elixir

import Config
config :accent, Accent.Repo,
pool: Ecto.Adapters.SQL.Sandbox,
url: System.get_env("DATABASE_URL") || "postgres://localhost/accent_test"
config :ueberauth, Ueberauth, providers: [{:dummy, {Accent.Auth.Ueberauth.DummyStrategy, []}}]
config :accent, Oban, crontab: false, testing: :manual
config :telemetry_ui, disabled: true
config :goth, disabled: true
config :tesla, logger_enabled: false, adapter: Tesla.Mock
config :logger, level: :warning