summaryrefslogtreecommitdiff
path: root/config/test.exs
diff options
context:
space:
mode:
Diffstat (limited to 'config/test.exs')
-rw-r--r--config/test.exs11
1 files changed, 10 insertions, 1 deletions
diff --git a/config/test.exs b/config/test.exs
index e0461e93d..1bd11dee4 100644
--- a/config/test.exs
+++ b/config/test.exs
@@ -21,8 +21,17 @@ config :pleroma, Pleroma.Repo,
pool: Ecto.Adapters.SQL.Sandbox
# Reduce hash rounds for testing
-config :comeonin, :pbkdf2_rounds, 1
+config :pbkdf2_elixir, 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 parameters."
+ )
+end