summaryrefslogtreecommitdiff
path: root/test/support/http_signatures_proxy.ex
diff options
context:
space:
mode:
authormarcin mikołajczak <git@mkljczk.pl>2024-07-28 13:41:58 +0200
committermarcin mikołajczak <git@mkljczk.pl>2024-07-28 13:41:58 +0200
commitad8c26f6c285412be041b7dcaeefa8741d3a6e57 (patch)
tree041e9af5f9b64215f12d195d6c98b548b0c1b622 /test/support/http_signatures_proxy.ex
parent7620b520c13a1c204810cf0cfe6a7b70b9a1c59d (diff)
parent6876761837bad399758cd6a93be5bf5cc8a81cef (diff)
downloadpleroma-ad8c26f6c285412be041b7dcaeefa8741d3a6e57.tar.gz
pleroma-ad8c26f6c285412be041b7dcaeefa8741d3a6e57.zip
Merge remote-tracking branch 'origin/develop' into post-languages
Diffstat (limited to 'test/support/http_signatures_proxy.ex')
-rw-r--r--test/support/http_signatures_proxy.ex9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/support/http_signatures_proxy.ex b/test/support/http_signatures_proxy.ex
new file mode 100644
index 000000000..4c6b39d19
--- /dev/null
+++ b/test/support/http_signatures_proxy.ex
@@ -0,0 +1,9 @@
+defmodule Pleroma.Test.HTTPSignaturesProxy do
+ @behaviour Pleroma.HTTPSignaturesAPI
+
+ @impl true
+ defdelegate validate_conn(conn), to: HTTPSignatures
+
+ @impl true
+ defdelegate signature_for_conn(conn), to: HTTPSignatures
+end