diff options
author | Alex Gleason <alex@alexgleason.me> | 2021-12-15 19:05:36 -0500 |
---|---|---|
committer | Alex Gleason <alex@alexgleason.me> | 2021-12-15 19:05:36 -0500 |
commit | e1b89fe3aa2c03576a6f2418c1e83c0ed64707a3 (patch) | |
tree | 6a8b31ef3612c4f8f5b405361c7cb875f4661d84 /test/support/http_request_mock.ex | |
parent | 29d80b39f287ed2488a612280d41e9dd2e40a7cc (diff) | |
parent | 6eb7d69e60a96e577de92de232ed48e509f23cd4 (diff) | |
download | pleroma-e1b89fe3aa2c03576a6f2418c1e83c0ed64707a3.tar.gz pleroma-e1b89fe3aa2c03576a6f2418c1e83c0ed64707a3.zip |
Merge remote-tracking branch 'origin/develop' into live-dashboard
Diffstat (limited to 'test/support/http_request_mock.ex')
-rw-r--r-- | test/support/http_request_mock.ex | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/test/support/http_request_mock.ex b/test/support/http_request_mock.ex index 8807c2d14..94900dc14 100644 --- a/test/support/http_request_mock.ex +++ b/test/support/http_request_mock.ex @@ -1313,9 +1313,7 @@ defmodule HttpRequestMock do def get(url, query, body, headers) do {:error, - "Mock response not implemented for GET #{inspect(url)}, #{query}, #{inspect(body)}, #{ - inspect(headers) - }"} + "Mock response not implemented for GET #{inspect(url)}, #{query}, #{inspect(body)}, #{inspect(headers)}"} end # POST Requests @@ -1381,9 +1379,7 @@ defmodule HttpRequestMock do def post(url, query, body, headers) do {:error, - "Mock response not implemented for POST #{inspect(url)}, #{query}, #{inspect(body)}, #{ - inspect(headers) - }"} + "Mock response not implemented for POST #{inspect(url)}, #{query}, #{inspect(body)}, #{inspect(headers)}"} end # Most of the rich media mocks are missing HEAD requests, so we just return 404. @@ -1398,8 +1394,6 @@ defmodule HttpRequestMock do def head(url, query, body, headers) do {:error, - "Mock response not implemented for HEAD #{inspect(url)}, #{query}, #{inspect(body)}, #{ - inspect(headers) - }"} + "Mock response not implemented for HEAD #{inspect(url)}, #{query}, #{inspect(body)}, #{inspect(headers)}"} end end |