Reset http security settings to fix plug test

This commit is contained in:
AkiraFukushima 2018-11-17 00:45:21 +09:00
parent cc45797f4e
commit 62944b47fb
1 changed files with 2 additions and 0 deletions

View File

@ -60,6 +60,8 @@ test "it does not send STS headers when disabled", %{conn: conn} do
end
test "referrer-policy header reflects configured value", %{conn: conn} do
Config.put([:http_security, :enabled], true)
conn =
conn
|> get("/api/v1/instance")