From: AkiraFukushima
Date: Fri, 16 Nov 2018 15:45:21 +0000 (+0900)
Subject: Reset http security settings to fix plug test
X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=62944b47fb15d66aed5d3a6250eb3334c2835ea7;p=akkoma
Reset http security settings to fix plug test
---
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")