aboutsummaryrefslogtreecommitdiff
path: root/config/test.exs
diff options
context:
space:
mode:
Diffstat (limited to 'config/test.exs')
-rw-r--r--config/test.exs9
1 files changed, 9 insertions, 0 deletions
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