test: configure database connection

This commit is contained in:
Ivan R. 2024-07-21 22:07:53 +05:00
parent 3841ee5ed7
commit 8f34d6a069
Signed by: lumin
GPG key ID: E0937DC7CD6D3817

View file

@ -9,10 +9,10 @@ config :argon2_elixir, t_cost: 1, m_cost: 8
# to provide built-in test partitioning in CI environment.
# Run `mix help test` for more information.
config :comfycamp, Comfycamp.Repo,
username: "postgres",
password: "postgres",
username: "phoenix",
password: "simple-password",
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_size: System.schedulers_online() * 2