projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add OpenAPI spec for ScheduledActivityController
[akkoma]
/
test
/
support
/
http_request_mock.ex
diff --git
a/test/support/http_request_mock.ex
b/test/support/http_request_mock.ex
index 54dde0432827aa8a7e661b0e9a180b3c9ab3653f..9624cb0f76148fd86256becc0c6376d8aa4ef4df 100644
(file)
--- a/
test/support/http_request_mock.ex
+++ b/
test/support/http_request_mock.ex
@@
-308,19
+308,19
@@
defmodule HttpRequestMock do
}}
end
}}
end
- def get("https://
bittube.video/accounts/hanimated.moh
", _, _, _) do
+ def get("https://
peertube.social/accounts/craigmaloney
", _, _, _) do
{:ok,
%Tesla.Env{
status: 200,
{:ok,
%Tesla.Env{
status: 200,
- body: File.read!("test/fixtures/tesla_mock/
hanimated
.json")
+ body: File.read!("test/fixtures/tesla_mock/
craigmaloney
.json")
}}
end
}}
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,
{: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
}}
end