diff options
Diffstat (limited to 'config/test.exs')
-rw-r--r-- | config/test.exs | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/config/test.exs b/config/test.exs index 30a51f734..567780987 100644 --- a/config/test.exs +++ b/config/test.exs @@ -86,11 +86,10 @@ config :joken, default_signer: "yU8uHKq+yyAkZ11Hx//jcdacWc8yQ1bxAAGrplzB0Zwwjkp3 config :pleroma, Pleroma.ReverseProxy.Client, Pleroma.ReverseProxy.ClientMock -try do +if File.exists?("./config/test.secret.exs") do import_config "test.secret.exs" -rescue - _ -> - IO.puts( - "You may want to create test.secret.exs to declare custom database connection parameters." - ) +else + IO.puts( + "You may want to create test.secret.exs to declare custom database connection parameters." + ) end |