projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
32e1e52
)
Read variable for testing db.
author
Roger Braun
<rbraun@Bobble.local>
Thu, 2 Nov 2017 16:45:33 +0000
(17:45 +0100)
committer
Roger Braun
<rbraun@Bobble.local>
Thu, 2 Nov 2017 16:45:33 +0000
(17:45 +0100)
config/test.exs
patch
|
blob
|
history
diff --git
a/config/test.exs
b/config/test.exs
index 04136e1f23d1447bf94d278484c48c3110cfb74b..26b5410fe8b594e97e018a49d7fe95d4f2c16df5 100644
(file)
--- a/
config/test.exs
+++ b/
config/test.exs
@@
-18,7
+18,7
@@
config :pleroma, Pleroma.Repo,
username: "postgres",
password: "postgres",
database: "pleroma_test",
- hostname: "localhost",
+ hostname:
System.get_env("DB_HOST") ||
"localhost",
pool: Ecto.Adapters.SQL.Sandbox