philomena/config/test.exs
Dan Schultzer e5f0e473d9
Add plug to handle invalidated Pow session tokens (#36)
* Add plug to handle invalidated Pow session tokens

* Add token signing

* Refactor for tests
2020-04-11 14:54:55 -04:00

17 lines
443 B
Elixir

import Config
# Configure your database
config :philomena, Philomena.Repo,
username: "postgres",
password: "postgres",
database: "philomena_test",
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