Application: Don't verify requirements during test at startup.

This commit is contained in:
Lain Soykaf 2025-02-25 12:20:19 +04:00
parent ccc6f2b288
commit edfb1deb1c

View file

@ -56,7 +56,10 @@ defmodule Pleroma.Application do
Pleroma.Web.Plugs.HTTPSecurityPlug.warn_if_disabled()
end
Pleroma.ApplicationRequirements.verify!()
if Mix.env() != :test do
Pleroma.ApplicationRequirements.verify!()
end
load_custom_modules()
Pleroma.Docs.JSON.compile()
limiters_setup()