diff options
author | Lain Soykaf <lain@lain.com> | 2025-03-11 17:53:05 +0400 |
---|---|---|
committer | Lain Soykaf <lain@lain.com> | 2025-03-11 17:53:05 +0400 |
commit | 2293d0826a9fb28e3e8a3d9bbf5dd60863ec0fd9 (patch) | |
tree | 36520a811a28baea88ce1b5cbf4054b217ca32da /test/support/http_request_mock.ex | |
parent | 51c1d6fb2dd91a1a1ac11fed0f0a4211719e30b8 (diff) | |
download | pleroma-2293d0826a9fb28e3e8a3d9bbf5dd60863ec0fd9.tar.gz pleroma-2293d0826a9fb28e3e8a3d9bbf5dd60863ec0fd9.zip |
Tests: Fix tests.
Diffstat (limited to 'test/support/http_request_mock.ex')
-rw-r--r-- | test/support/http_request_mock.ex | 16 |
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, |