diff options
author | Ivan Tashkinov <ivantashkinov@gmail.com> | 2021-03-02 08:26:30 +0300 |
---|---|---|
committer | Ivan Tashkinov <ivantashkinov@gmail.com> | 2021-03-02 08:26:30 +0300 |
commit | 882dd4684381a06395abd262363858011f06327d (patch) | |
tree | 4cf2e15128d4a55ff248d47a2dfa702eafb90717 /test/support | |
parent | 40d4362261abaf0856a1b4397a4bff6344137120 (diff) | |
parent | 4cb166e979ea66a1c79995dacacbcf44fbf7365f (diff) | |
download | pleroma-882dd4684381a06395abd262363858011f06327d.tar.gz pleroma-882dd4684381a06395abd262363858011f06327d.zip |
Merge remote-tracking branch 'remotes/origin/develop' into feature/object-hashtags-rework
Diffstat (limited to 'test/support')
-rw-r--r-- | test/support/http_request_mock.ex | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/support/http_request_mock.ex b/test/support/http_request_mock.ex index 7da0a8380..1328d6225 100644 --- a/test/support/http_request_mock.ex +++ b/test/support/http_request_mock.ex @@ -275,6 +275,15 @@ defmodule HttpRequestMock do }} end + def get("https://peertube.stream/accounts/createurs", _, _, _) do + {:ok, + %Tesla.Env{ + status: 200, + body: File.read!("test/fixtures/peertube/actor-person.json"), + headers: activitypub_object_headers() + }} + end + def get("https://peertube.moe/videos/watch/df5f464b-be8d-46fb-ad81-2d4c2d1630e3", _, _, _) do {:ok, %Tesla.Env{ |