You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
analytics/config/test.exs

32 lines
763 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
config :plausible,
session_timeout: 0