Merge branch 'fix/test' into 'develop'

Reset http security settings to fix plug test

See merge request pleroma/pleroma!455
This commit is contained in:
lambda 2018-11-16 15:52:38 +00:00
commit 4ad0432565
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")