Skip to content

Commit

Permalink
ci: ajuste na variavel de ambiente do banco
Browse files Browse the repository at this point in the history
  • Loading branch information
tiago154 committed Feb 24, 2021
1 parent e27b2a2 commit 7ca3a16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ config :rocketpay, Rocketpay.Repo,
username: "postgres",
password: "postgres",
database: "rocketpay_test#{System.get_env("MIX_TEST_PARTITION")}",
hostname: "localhost",
hostname: System.get_env("DB_HOST", "localhost"),
pool: Ecto.Adapters.SQL.Sandbox

# We don't run a server during test. If one is required,
Expand Down

0 comments on commit 7ca3a16

Please sign in to comment.