ソースを参照

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


読み込み中…
キャンセル
保存