philomena/config/test.exs
TekuSP 7fd9d7e45a Update issue templates (#2)
* Update issue templates
2019-12-07 22:07:49 -05:00

18 lines
525 B
Elixir

import Config
# Configure your database
config :philomena, Philomena.Repo,
username: System.get_env("PGUSER"),
password: System.get_env("PGPASSWORD"),
database: System.get_env("PGDATABASE"),
hostname: System.get_env("PGHOST"),
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