summaryrefslogtreecommitdiff
path: root/test/support/http_request_mock.ex
diff options
context:
space:
mode:
authorMaksim Pechnikov <parallel588@gmail.com>2020-04-28 09:32:43 +0300
committerMaksim Pechnikov <parallel588@gmail.com>2020-04-28 09:32:43 +0300
commitea5142b94bcd1a02571776440dc828dd08a2c3d6 (patch)
treeb096e8dc1390634d4ec4837a43ba77240b882c85 /test/support/http_request_mock.ex
parentc5c09fc61b7b6e591e9de23028e5caea8f26b996 (diff)
downloadpleroma-ea5142b94bcd1a02571776440dc828dd08a2c3d6.tar.gz
pleroma-ea5142b94bcd1a02571776440dc828dd08a2c3d6.zip
convert markdown content to html
Diffstat (limited to 'test/support/http_request_mock.ex')
-rw-r--r--test/support/http_request_mock.ex8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/support/http_request_mock.ex b/test/support/http_request_mock.ex
index 54dde0432..9624cb0f7 100644
--- a/test/support/http_request_mock.ex
+++ b/test/support/http_request_mock.ex
@@ -308,19 +308,19 @@ defmodule HttpRequestMock do
}}
end
- def get("https://bittube.video/accounts/hanimated.moh", _, _, _) do
+ def get("https://peertube.social/accounts/craigmaloney", _, _, _) do
{:ok,
%Tesla.Env{
status: 200,
- body: File.read!("test/fixtures/tesla_mock/hanimated.json")
+ body: File.read!("test/fixtures/tesla_mock/craigmaloney.json")
}}
end
- def get("https://bittube.video/videos/watch/2aad7dfb-5c75-4ee6-a9ed-08436af0558b", _, _, _) do
+ def get("https://peertube.social/videos/watch/278d2b7c-0f38-4aaa-afe6-9ecc0c4a34fe", _, _, _) do
{:ok,
%Tesla.Env{
status: 200,
- body: File.read!("test/fixtures/tesla_mock/bittube-video.json")
+ body: File.read!("test/fixtures/tesla_mock/peertube-social.json")
}}
end