analytics/config/test.exs

28 lines
681 B
Elixir
Raw Normal View History

2019-09-02 14:29:19 +03:00
use Mix.Config
# We don't run a server during test. If one is required,
# you can enable the server option below.
config :plausible, PlausibleWeb.Endpoint,
http: [port: 4002],
server: false
# Print only warnings and errors during test
config :logger, level: :warn
# Reduce bcrypt rounds to speed up test suite
config :bcrypt_elixir, :log_rounds, 4
# Configure your database
config :plausible, Plausible.Repo,
username: "postgres",
password: "postgres",
database: "plausible_test",
hostname: "localhost",
pool: Ecto.Adapters.SQL.Sandbox
config :plausible, Plausible.Mailer,
adapter: Bamboo.TestAdapter
config :plausible,
paddle_api: Plausible.PaddleApi.Mock