HTTPSecurityPlug: Fix tests

This commit is contained in:
Lain Soykaf 2024-05-27 22:13:20 +04:00
commit 81e44ced0c
3 changed files with 4 additions and 4 deletions

View file

@ -15,7 +15,7 @@ defmodule Pleroma.Web.Plugs.HTTPSecurityPlugTest do
end
defp mock_config(config, additional \\ %{}) do
Pleroma.UnstubbedConfigMock
Pleroma.StaticStubbedConfigMock
|> stub(:get, fn
[:http_security, key] -> config[key]
key -> additional[key]