diff options
author | Lain Soykaf <lain@lain.com> | 2024-05-27 22:13:20 +0400 |
---|---|---|
committer | Lain Soykaf <lain@lain.com> | 2024-05-27 22:13:20 +0400 |
commit | 81e44ced0c7251b5a6b585f297e1e00fad08c6d1 (patch) | |
tree | c099cb43093ab3f200a68c0dab778c432b754e8d /test | |
parent | c67b41415b369d67c25356205bf69de2d99a291c (diff) | |
download | pleroma-81e44ced0c7251b5a6b585f297e1e00fad08c6d1.tar.gz pleroma-81e44ced0c7251b5a6b585f297e1e00fad08c6d1.zip |
HTTPSecurityPlug: Fix tests
Diffstat (limited to 'test')
-rw-r--r-- | test/pleroma/web/plugs/http_security_plug_test.exs | 2 |
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] |