Add default postgres user/pass in test helper
This makes it easier to run tests locally.
This commit is contained in:
parent
0f09819b66
commit
454c2451a5
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue