test: configure database connection
This commit is contained in:
parent
3841ee5ed7
commit
8f34d6a069
1 changed files with 3 additions and 3 deletions
|
@ -9,10 +9,10 @@ config :argon2_elixir, t_cost: 1, m_cost: 8
|
||||||
# to provide built-in test partitioning in CI environment.
|
# to provide built-in test partitioning in CI environment.
|
||||||
# Run `mix help test` for more information.
|
# Run `mix help test` for more information.
|
||||||
config :comfycamp, Comfycamp.Repo,
|
config :comfycamp, Comfycamp.Repo,
|
||||||
username: "postgres",
|
username: "phoenix",
|
||||||
password: "postgres",
|
password: "simple-password",
|
||||||
hostname: "localhost",
|
hostname: "localhost",
|
||||||
database: "comfycamp_test#{System.get_env("MIX_TEST_PARTITION")}",
|
database: "phoenix_test#{System.get_env("MIX_TEST_PARTITION")}",
|
||||||
pool: Ecto.Adapters.SQL.Sandbox,
|
pool: Ecto.Adapters.SQL.Sandbox,
|
||||||
pool_size: System.schedulers_online() * 2
|
pool_size: System.schedulers_online() * 2
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue