diff options
author | Alex Gleason <alex@alexgleason.me> | 2021-12-27 18:01:25 -0600 |
---|---|---|
committer | Alex Gleason <alex@alexgleason.me> | 2021-12-27 18:01:25 -0600 |
commit | f5c3d45120364681b3601baa36a0ce9fa22680d7 (patch) | |
tree | 5f1379ca293a001111585849521615d69880b7cb /test/support/http_request_mock.ex | |
parent | 3117c6099733207b7f2a777f8cb8b5b3b839ebe8 (diff) | |
parent | 264f0fde1b9f0cbaf7679eeb59938eb9ca653779 (diff) | |
download | pleroma-f5c3d45120364681b3601baa36a0ce9fa22680d7.tar.gz pleroma-f5c3d45120364681b3601baa36a0ce9fa22680d7.zip |
Merge remote-tracking branch 'origin/develop' into apps-api-endpoint
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 |