diff options
author | AkiraFukushima <h3.poteto@gmail.com> | 2018-11-17 00:45:21 +0900 |
---|---|---|
committer | AkiraFukushima <h3.poteto@gmail.com> | 2018-11-17 00:45:21 +0900 |
commit | 62944b47fb15d66aed5d3a6250eb3334c2835ea7 (patch) | |
tree | 1b62936af5d09e4088c498e2bfe95abaf93054bf | |
parent | cc45797f4e1765f5123c058166f6032c6a6556a0 (diff) | |
download | pleroma-62944b47fb15d66aed5d3a6250eb3334c2835ea7.tar.gz pleroma-62944b47fb15d66aed5d3a6250eb3334c2835ea7.zip |
Reset http security settings to fix plug test
-rw-r--r-- | test/plugs/http_security_plug_test.exs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/plugs/http_security_plug_test.exs b/test/plugs/http_security_plug_test.exs index 55040a108..169c3b3a8 100644 --- 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") |