mirror of
https://github.com/plausible/analytics.git
synced 2024-11-30 00:58:54 +03:00
29 lines
722 B
Elixir
29 lines
722 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,
|
|
google_api: Plausible.Google.Api.Mock
|