瀏覽代碼

Reset http security settings to fix plug test

tags/v0.9.9
AkiraFukushima 5 年之前
父節點
當前提交
62944b47fb
共有 1 個檔案被更改,包括 2 行新增0 行删除
  1. +2
    -0
      test/plugs/http_security_plug_test.exs

+ 2
- 0
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")


Loading…
取消
儲存