HTTPSignaturePlugTest: Rewrite to use mox.
This commit is contained in:
parent
3b4be5daa2
commit
f5978da676
7 changed files with 144 additions and 113 deletions
4
lib/pleroma/http_signatures_api.ex
Normal file
4
lib/pleroma/http_signatures_api.ex
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
defmodule Pleroma.HTTPSignaturesAPI do
|
||||
@callback validate_conn(conn :: Plug.Conn.t()) :: boolean
|
||||
@callback signature_for_conn(conn :: Plug.Conn.t()) :: map
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue