X-Git-Url: https://git.squeep.com/?a=blobdiff_plain;f=config%2Ftest.exs;h=1bd11dee44543c1163116c4913ccf811c21f1330;hb=59cf7cf235a50abb8a1fd30ea7fd10443e533658;hp=e0461e93d092c9cfe392778ef8812a3d058ed410;hpb=4afbef39f49948ddd3b1cd1bbda58ff7e3ac2785;p=akkoma 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