Add default postgres user/pass in test helper

This makes it easier to run tests locally.
This commit is contained in:
Martin Frost 2023-11-24 23:10:15 +01:00
parent 0f09819b66
commit 454c2451a5
1 changed files with 2 additions and 2 deletions

View File

@ -10,8 +10,8 @@ defmodule ISN.TestHelper do
database: "isn_test" database: "isn_test"
] ]
db_user = System.get_env("POSTGRES_USER") db_user = System.get_env("POSTGRES_USER", "isn")
db_pass = System.get_env("POSTGRES_PASSWORD") db_pass = System.get_env("POSTGRES_PASSWORD", "isn")
db_options = db_options =
if db_user do if db_user do