X-Git-Url: https://git.squeep.com/?a=blobdiff_plain;f=config%2Ftest.exs;h=d5c25f65e3cb2e533027df58be84befddca99834;hb=b0d2b539347f75b15bdeb38d80ff4e0d8dc9fec5;hp=690c98e40e909b6b3ff4aaa8f85f655f9727c5df;hpb=ba40af054cc90417c5b2b347e325b53c7346e29c;p=akkoma diff --git a/config/test.exs b/config/test.exs index 690c98e40..d5c25f65e 100644 --- a/config/test.exs +++ b/config/test.exs @@ -1,4 +1,4 @@ -use Mix.Config +import Config # We don't run a server during test. If one is required, # you can enable the server option below. @@ -38,7 +38,7 @@ config :pleroma, :instance, external_user_synchronization: false, static_dir: "test/instance_static/" -config :pleroma, :activitypub, sign_object_fetches: false +config :pleroma, :activitypub, sign_object_fetches: false, follow_handshake_timeout: 0 # Configure your database config :pleroma, Pleroma.Repo, @@ -133,6 +133,10 @@ config :pleroma, :side_effects, ap_streamer: Pleroma.Web.ActivityPub.ActivityPubMock, logger: Pleroma.LoggerMock +# Reduce recompilation time +# https://dashbit.co/blog/speeding-up-re-compilation-of-elixir-projects +config :phoenix, :plug_init_mode, :runtime + if File.exists?("./config/test.secret.exs") do import_config "test.secret.exs" else