forked from AkkomaGang/akkoma
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:
commit
4ad0432565
1 changed files with 2 additions and 0 deletions
|
@ -60,6 +60,8 @@ test "it does not send STS headers when disabled", %{conn: conn} do
|
||||||
end
|
end
|
||||||
|
|
||||||
test "referrer-policy header reflects configured value", %{conn: conn} do
|
test "referrer-policy header reflects configured value", %{conn: conn} do
|
||||||
|
Config.put([:http_security, :enabled], true)
|
||||||
|
|
||||||
conn =
|
conn =
|
||||||
conn
|
conn
|
||||||
|> get("/api/v1/instance")
|
|> get("/api/v1/instance")
|
||||||
|
|
Loading…
Reference in a new issue