legendary-doc-site/config/test.exs

27 lines
790 B
Elixir
Raw Normal View History

use Mix.Config
2020-07-17 23:30:31 +00:00
# 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 :auth, Auth.Repo,
username: "postgres",
password: "postgres",
database: "auth_test#{System.get_env("MIX_TEST_PARTITION")}",
hostname: System.get_env("DATABASE_URL") || "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 :auth_web, AuthWeb.Endpoint,
http: [port: 4002],
server: false
# We don't run a server during test. If one is required,
# you can enable the server option below.
2020-07-20 19:15:11 +00:00
config :content_web, ContentWeb.Endpoint,
http: [port: 4002],
server: false