1
0
Fork 1
mirror of https://akkoma.dev/AkkomaGang/akkoma.git synced 2024-11-19 03:19:17 +00:00

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

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")