mirror of
https://github.com/plausible/analytics.git
synced 2024-11-26 23:27:54 +03:00
28 lines
681 B
Elixir
28 lines
681 B
Elixir
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
|