philomena/config/test.exs

19 lines
469 B
Elixir
Raw Normal View History

2019-08-15 02:32:32 +02:00
use Mix.Config
# Configure your database
config :philomena, Philomena.Repo,
username: "postgres",
password: "postgres",
database: "philomena_test",
hostname: "localhost",
pool: Ecto.Adapters.SQL.Sandbox
# 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