summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorLain Soykaf <lain@lain.com>2024-05-27 22:13:20 +0400
committerLain Soykaf <lain@lain.com>2024-05-27 22:13:20 +0400
commit81e44ced0c7251b5a6b585f297e1e00fad08c6d1 (patch)
treec099cb43093ab3f200a68c0dab778c432b754e8d /test
parentc67b41415b369d67c25356205bf69de2d99a291c (diff)
downloadpleroma-81e44ced0c7251b5a6b585f297e1e00fad08c6d1.tar.gz
pleroma-81e44ced0c7251b5a6b585f297e1e00fad08c6d1.zip
HTTPSecurityPlug: Fix tests
Diffstat (limited to 'test')
-rw-r--r--test/pleroma/web/plugs/http_security_plug_test.exs2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/pleroma/web/plugs/http_security_plug_test.exs b/test/pleroma/web/plugs/http_security_plug_test.exs
index 80ad1fa7d..11a351a41 100644
--- a/test/pleroma/web/plugs/http_security_plug_test.exs
+++ b/test/pleroma/web/plugs/http_security_plug_test.exs
@@ -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]