projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Allow to set both admin and moderator at the same time in mix task User
[akkoma]
/
test
/
plugs
/
http_security_plug_test.exs
diff --git
a/test/plugs/http_security_plug_test.exs
b/test/plugs/http_security_plug_test.exs
index 55040a108b05835d1b8710fcafb441774ad9d095..169c3b3a84d98949736a27bfaa55852a4f83bd21 100644
(file)
--- a/
test/plugs/http_security_plug_test.exs
+++ b/
test/plugs/http_security_plug_test.exs
@@
-60,6
+60,8
@@
defmodule Pleroma.Web.Plugs.HTTPSecurityPlugTest do
end
test "referrer-policy header reflects configured value", %{conn: conn} do
+ Config.put([:http_security, :enabled], true)
+
conn =
conn
|> get("/api/v1/instance")