philomena/config/test.exs

23 lines
533 B
Elixir
Raw Permalink Normal View History

2019-12-04 16:35:16 +01:00
import Config
2019-08-15 02:32:32 +02:00
# Configure your database
config :philomena, Philomena.Repo,
2020-10-26 22:01:29 +01:00
hostname: "postgres",
username: "postgres",
password: "postgres",
database: "philomena_test",
2019-08-15 02:32:32 +02:00
pool: Ecto.Adapters.SQL.Sandbox
2020-05-27 23:34:44 +02:00
config :philomena,
pwned_passwords: false,
captcha: false
2020-05-27 23:34:44 +02:00
2019-08-15 02:32:32 +02:00
# We don't run a server during test. If one is required,
# you can enable the server option below.
config :philomena, PhilomenaWeb.Endpoint,
http: [port: 4002],
server: false
# Print only warnings and errors during test
2024-04-16 14:10:03 +02:00
config :logger, level: :warning