summaryrefslogtreecommitdiff
path: root/test/support/http_signatures_proxy.ex
diff options
context:
space:
mode:
authorLain Soykaf <lain@lain.com>2024-05-28 16:51:19 +0400
committerLain Soykaf <lain@lain.com>2024-05-28 16:51:19 +0400
commitcc42b50c5bbbeee066d3d26907eebb488ec6aa3d (patch)
tree3b67771624d237bdb58f0931098d6682191cc214 /test/support/http_signatures_proxy.ex
parentfdc3cbb8cbefad2161cc408b4440420d6e4b2a88 (diff)
parentbef15cde6141a977aebdfc998d6091a31c4fc2d6 (diff)
downloadpleroma-cc42b50c5bbbeee066d3d26907eebb488ec6aa3d.tar.gz
pleroma-cc42b50c5bbbeee066d3d26907eebb488ec6aa3d.zip
Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into pleroma-feature/akkoma-prune-old-posts
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