From d30907e573ca7771cf14a4ae5f766e09a16b5395 Mon Sep 17 00:00:00 2001 From: Mark Felder Date: Fri, 4 May 2018 21:00:18 +0000 Subject: [PATCH] Make it possible to use custom database connection parameters --- config/test.exs | 9 +++++++++ 1 file changed, 9 insertions(+) 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 -- 2.45.2