summaryrefslogtreecommitdiff
path: root/test/support/http_request_mock.ex
diff options
context:
space:
mode:
authorlain <lain@soykaf.club>2025-03-11 16:04:14 +0000
committerlain <lain@soykaf.club>2025-03-11 16:04:14 +0000
commit66687beddaf6cee236a2e035c0f4582ec586f957 (patch)
tree9ee7bf53ef26d1fc2f39922808b8beb24c18414f /test/support/http_request_mock.ex
parentaf6d5470d29f294e9b356da36cccbcaf85379f78 (diff)
parent5ce612b2723381a978f3810a414a3c3038a1859c (diff)
downloadpleroma-66687beddaf6cee236a2e035c0f4582ec586f957.tar.gz
pleroma-66687beddaf6cee236a2e035c0f4582ec586f957.zip
Merge branch 'release/2.9.1' into 'stable'stable
Release/2.9.1 See merge request pleroma/pleroma!4338
Diffstat (limited to 'test/support/http_request_mock.ex')
-rw-r--r--test/support/http_request_mock.ex16
1 files changed, 8 insertions, 8 deletions
diff --git a/test/support/http_request_mock.ex b/test/support/http_request_mock.ex
index ed044cf98..1c472fca9 100644
--- a/test/support/http_request_mock.ex
+++ b/test/support/http_request_mock.ex
@@ -955,7 +955,7 @@ defmodule HttpRequestMock do
{:ok, %Tesla.Env{status: 200, body: File.read!("test/fixtures/rich_media/ogp.html")}}
end
- def get("http://localhost:4001/users/masto_closed/followers", _, _, _) do
+ def get("https://remote.org/users/masto_closed/followers", _, _, _) do
{:ok,
%Tesla.Env{
status: 200,
@@ -964,7 +964,7 @@ defmodule HttpRequestMock do
}}
end
- def get("http://localhost:4001/users/masto_closed/followers?page=1", _, _, _) do
+ def get("https://remote.org/users/masto_closed/followers?page=1", _, _, _) do
{:ok,
%Tesla.Env{
status: 200,
@@ -973,7 +973,7 @@ defmodule HttpRequestMock do
}}
end
- def get("http://localhost:4001/users/masto_closed/following", _, _, _) do
+ def get("https://remote.org/users/masto_closed/following", _, _, _) do
{:ok,
%Tesla.Env{
status: 200,
@@ -982,7 +982,7 @@ defmodule HttpRequestMock do
}}
end
- def get("http://localhost:4001/users/masto_closed/following?page=1", _, _, _) do
+ def get("https://remote.org/users/masto_closed/following?page=1", _, _, _) do
{:ok,
%Tesla.Env{
status: 200,
@@ -991,7 +991,7 @@ defmodule HttpRequestMock do
}}
end
- def get("http://localhost:8080/followers/fuser3", _, _, _) do
+ def get("https://remote.org/followers/fuser3", _, _, _) do
{:ok,
%Tesla.Env{
status: 200,
@@ -1000,7 +1000,7 @@ defmodule HttpRequestMock do
}}
end
- def get("http://localhost:8080/following/fuser3", _, _, _) do
+ def get("https://remote.org/following/fuser3", _, _, _) do
{:ok,
%Tesla.Env{
status: 200,
@@ -1009,7 +1009,7 @@ defmodule HttpRequestMock do
}}
end
- def get("http://localhost:4001/users/fuser2/followers", _, _, _) do
+ def get("https://remote.org/users/fuser2/followers", _, _, _) do
{:ok,
%Tesla.Env{
status: 200,
@@ -1018,7 +1018,7 @@ defmodule HttpRequestMock do
}}
end
- def get("http://localhost:4001/users/fuser2/following", _, _, _) do
+ def get("https://remote.org/users/fuser2/following", _, _, _) do
{:ok,
%Tesla.Env{
status: 200,