From: Mark Felder Date: Fri, 4 May 2018 21:00:18 +0000 (+0000) Subject: Make it possible to use custom database connection parameters X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=d30907e573ca7771cf14a4ae5f766e09a16b5395;p=akkoma Make it possible to use custom database connection parameters --- diff --git a/config/test.exs b/config/test.exs index e0461e93d..e13696d5c 100644 --- a/config/test.exs +++ b/config/test.exs @@ -26,3 +26,12 @@ config :comeonin, :pbkdf2_rounds, 1 config :pleroma, :websub, Pleroma.Web.WebsubMock config :pleroma, :ostatus, Pleroma.Web.OStatusMock config :pleroma, :httpoison, HTTPoisonMock + +try do + import_config "test.secret.exs" +rescue + _ -> + IO.puts( + "You may want to create test.secret.exs to declare custom database connection paramenters." + ) +end