summaryrefslogtreecommitdiff
path: root/test/support/http_request_mock.ex
diff options
context:
space:
mode:
authorAlexander Strizhakov <alex.strizhakov@gmail.com>2021-03-02 17:24:06 +0300
committerAlexander Strizhakov <alex.strizhakov@gmail.com>2021-03-25 13:03:40 +0300
commitff612750b1bae5223bca76b34a39e7d2bd05770c (patch)
treefa3eba5ca2db103dccbbb70cdea6308afc6c2b71 /test/support/http_request_mock.ex
parent17f28c0507e3c34ce75e63747eed9abb66713e6e (diff)
downloadpleroma-ff612750b1bae5223bca76b34a39e7d2bd05770c.tar.gz
pleroma-ff612750b1bae5223bca76b34a39e7d2bd05770c.zip
validator renaming & add validation for target
Diffstat (limited to 'test/support/http_request_mock.ex')
-rw-r--r--test/support/http_request_mock.ex3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/support/http_request_mock.ex b/test/support/http_request_mock.ex
index 9e9f1c86c..8807c2d14 100644
--- a/test/support/http_request_mock.ex
+++ b/test/support/http_request_mock.ex
@@ -924,7 +924,8 @@ defmodule HttpRequestMock do
body:
File.read!("test/fixtures/users_mock/masto_featured.json")
|> String.replace("{{domain}}", "mastodon.social")
- |> String.replace("{{nickname}}", "lambadalambda")
+ |> String.replace("{{nickname}}", "lambadalambda"),
+ headers: activitypub_object_headers()
}}
end