aboutsummaryrefslogtreecommitdiff
path: root/test/support/httpoison_mock.ex
diff options
context:
space:
mode:
authorlain <lain@soykaf.club>2018-05-13 10:56:11 +0200
committerlain <lain@soykaf.club>2018-05-13 10:56:11 +0200
commit76722ea9c8dfbb8fefe247883946aa5c872d9a49 (patch)
tree34020541df1d6684e935cfd09f36cb6eed7b13f6 /test/support/httpoison_mock.ex
parenta3d1d4894fdd8dd0133e1d2c6fde9d95f49dfcc7 (diff)
parentbb864e96ad4e0be470da78baa000019f571e30db (diff)
downloadpleroma-76722ea9c8dfbb8fefe247883946aa5c872d9a49.tar.gz
Merge branch 'develop' into kaniini/pleroma-bugfix/unlisted-statuses
Diffstat (limited to 'test/support/httpoison_mock.ex')
-rw-r--r--test/support/httpoison_mock.ex6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/support/httpoison_mock.ex b/test/support/httpoison_mock.ex
index ba35c4460..4a5a9ea85 100644
--- a/test/support/httpoison_mock.ex
+++ b/test/support/httpoison_mock.ex
@@ -367,7 +367,7 @@ defmodule HTTPoisonMock do
def post(
"https://social.heldscal.la/main/push/hub",
- {:form, data},
+ {:form, _data},
"Content-type": "application/x-www-form-urlencoded"
) do
{:ok,
@@ -711,11 +711,11 @@ defmodule HTTPoisonMock do
}"}
end
- def post(url, body, headers) do
+ def post(url, _body, _headers) do
{:error, "Not implemented the mock response for post #{inspect(url)}"}
end
- def post(url, body, headers, options) do
+ def post(url, _body, _headers, _options) do
{:error, "Not implemented the mock response for post #{inspect(url)}"}
end
end