19 lines
458 B
Elixir
19 lines
458 B
Elixir
|
import Config
|
||
|
|
||
|
# We don't run a server during test. If one is required,
|
||
|
# you can enable the server option below.
|
||
|
config :backend, BackendWeb.Endpoint,
|
||
|
http: [port: 4002],
|
||
|
server: false
|
||
|
|
||
|
# Print only warnings and errors during test
|
||
|
config :logger, level: :warn
|
||
|
|
||
|
# Configure your database
|
||
|
config :backend, Backend.Repo,
|
||
|
username: "postgres",
|
||
|
password: "postgres",
|
||
|
database: "backend_test",
|
||
|
hostname: "localhost",
|
||
|
pool: Ecto.Adapters.SQL.Sandbox
|