Browse Source

Reset http security settings to fix plug test

tags/v0.9.9
AkiraFukushima 5 years ago
parent
commit
62944b47fb
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      test/plugs/http_security_plug_test.exs

+ 2
- 0
test/plugs/http_security_plug_test.exs View File

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


Loading…
Cancel
Save