X-Git-Url: https://git.squeep.com/?a=blobdiff_plain;f=config%2Ftest.exs;h=567780987d253f3b41b548871a6f22e6e83fb206;hb=4b422b54699ac55a1bc32d2b42c0d55d0b68b4fb;hp=6f75f39b552cdd155cd77e524ebee9cd6ab70e8b;hpb=83a3de8cc4edc6992bbc334cda57de13caa971b0;p=akkoma diff --git a/config/test.exs b/config/test.exs index 6f75f39b5..567780987 100644 --- a/config/test.exs +++ b/config/test.exs @@ -71,7 +71,8 @@ config :pleroma, Pleroma.ScheduledActivity, config :pleroma, :rate_limit, search: [{1000, 30}, {1000, 30}], app_account_creation: {10_000, 5}, - password_reset: {1000, 30} + password_reset: {1000, 30}, + ap_routes: nil config :pleroma, :http_security, report_uri: "https://endpoint.com" @@ -85,11 +86,10 @@ config :joken, default_signer: "yU8uHKq+yyAkZ11Hx//jcdacWc8yQ1bxAAGrplzB0Zwwjkp3 config :pleroma, Pleroma.ReverseProxy.Client, Pleroma.ReverseProxy.ClientMock -try do +if File.exists?("./config/test.secret.exs") do import_config "test.secret.exs" -rescue - _ -> - IO.puts( - "You may want to create test.secret.exs to declare custom database connection parameters." - ) +else + IO.puts( + "You may want to create test.secret.exs to declare custom database connection parameters." + ) end