HTTPSecurityPlug: Fix tests
This commit is contained in:
parent
c67b41415b
commit
81e44ced0c
3 changed files with 4 additions and 4 deletions
|
|
@ -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]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue