philomena/config/test.exs
2020-05-27 17:36:29 -04:00

23 lines
515 B
Elixir

import Config
# Configure your database
config :philomena, Philomena.Repo,
username: "postgres",
password: "postgres",
database: "philomena_test",
pool: Ecto.Adapters.SQL.Sandbox
config :philomena,
redis_host: "redis"
config :exq,
host: "redis"
# 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
config :logger, level: :warn