summaryrefslogtreecommitdiff
path: root/test/support/http_signatures_proxy.ex
diff options
context:
space:
mode:
authorlain <lain@soykaf.club>2024-08-01 08:53:29 +0000
committerlain <lain@soykaf.club>2024-08-01 08:53:29 +0000
commit36d469cf022ea66947a73ee4c762d7f459aceee4 (patch)
tree5f8824d56f10d1c94353afeb77833cd250e67369 /test/support/http_signatures_proxy.ex
parent7566b4a348c66fcea45bcb017979ece9c7b45b3a (diff)
parenta5d32aab50abf725196fa782775a38907b4b2afa (diff)
downloadpleroma-36d469cf022ea66947a73ee4c762d7f459aceee4.tar.gz
pleroma-36d469cf022ea66947a73ee4c762d7f459aceee4.zip
Merge branch 'release/2.7.0' into 'stable'
v2.7.0 See merge request pleroma/pleroma!4179
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