~ihabunek/triglav

ref: f8f7b939d718089aa8ab1b9939d768fd7cf3a2ec triglav/config/test.exs -rw-r--r-- 661 bytes
f8f7b939Ivan Habunek Fix flag for starting only repo 1 year, 5 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
use Mix.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 :triglav, Triglav.Repo,
  username: "postgres",
  password: "postgres",
  database: "triglav_test#{System.get_env("MIX_TEST_PARTITION")}",
  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 :triglav, TriglavWeb.Endpoint,
  http: [port: 4002],
  server: false

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