~afontaine/home unlisted

home/config/test.exs -rw-r--r-- 658 bytes
20fa7998Andrew Fontaine Make Signature Removal a Little More Flexible 11 days ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
import Config

# Configure your database
#
# The MIX_TEST_PARTITION environment variable can be used
# to provide built-in test partitioning in CI environment.
# Run `mix help test` for more information.
config :blog, Blog.Repo,
  username: "postgres",
  password: "",
  database: "blog_test#{System.get_env("MIX_TEST_PARTITION")}",
  socket_dir: "#{File.cwd!()}/.postgres",
  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 :home_web, HomeWeb.Endpoint,
  http: [port: 4002],
  server: false

# Print only warnings and errors during test
config :logger, level: :warn