18
config/test.exs
Normal file
18
config/test.exs
Normal file
@@ -0,0 +1,18 @@
|
||||
use Mix.Config
|
||||
|
||||
# Configure your database
|
||||
config :anonbb, Anonbb.Repo,
|
||||
username: "postgres",
|
||||
password: "postgres",
|
||||
database: "anonbb_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 :anonbb, AnonbbWeb.Endpoint,
|
||||
http: [port: 4002],
|
||||
server: false
|
||||
|
||||
# Print only warnings and errors during test
|
||||
config :logger, level: :warn
|
||||
Reference in New Issue
Block a user