Application: Don't verify requirements during test at startup.
This commit is contained in:
parent
ccc6f2b288
commit
edfb1deb1c
1 changed files with 4 additions and 1 deletions
|
|
@ -56,7 +56,10 @@ defmodule Pleroma.Application do
|
||||||
Pleroma.Web.Plugs.HTTPSecurityPlug.warn_if_disabled()
|
Pleroma.Web.Plugs.HTTPSecurityPlug.warn_if_disabled()
|
||||||
end
|
end
|
||||||
|
|
||||||
|
if Mix.env() != :test do
|
||||||
Pleroma.ApplicationRequirements.verify!()
|
Pleroma.ApplicationRequirements.verify!()
|
||||||
|
end
|
||||||
|
|
||||||
load_custom_modules()
|
load_custom_modules()
|
||||||
Pleroma.Docs.JSON.compile()
|
Pleroma.Docs.JSON.compile()
|
||||||
limiters_setup()
|
limiters_setup()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue