projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cc45797
)
Reset http security settings to fix plug test
author
AkiraFukushima
<h3.poteto@gmail.com>
Fri, 16 Nov 2018 15:45:21 +0000
(
00:45
+0900)
committer
AkiraFukushima
<h3.poteto@gmail.com>
Fri, 16 Nov 2018 15:45:21 +0000
(
00:45
+0900)
test/plugs/http_security_plug_test.exs
patch
|
blob
|
history
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")