forked from AkkomaGang/akkoma
Make test.exs read config in the same way as dev.exs
This way, if your test.secret.exs has an error, you'll actually see it.
This commit is contained in:
parent
8ba7a151ad
commit
b729402774
1 changed files with 5 additions and 6 deletions
|
@ -82,10 +82,9 @@
|
|||
|
||||
config :pleroma, Pleroma.ReverseProxy.Client, Pleroma.ReverseProxy.ClientMock
|
||||
|
||||
try do
|
||||
if File.exists?("./config/test.secret.exs") do
|
||||
import_config "test.secret.exs"
|
||||
rescue
|
||||
_ ->
|
||||
else
|
||||
IO.puts(
|
||||
"You may want to create test.secret.exs to declare custom database connection parameters."
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue