diff options
author | Mark Felder <feld@feld.me> | 2018-05-04 20:59:01 +0000 |
---|---|---|
committer | Mark Felder <feld@feld.me> | 2018-05-04 20:59:01 +0000 |
commit | ab4aa5720aeac8541fbf99e6c98e7260cb19d41e (patch) | |
tree | a77d97ea65e39e68785d5c1dfd553bec6ec08074 /test/support/httpoison_mock.ex | |
parent | 11a1241d41a166714aca22afff6f540a11d642aa (diff) | |
download | pleroma-ab4aa5720aeac8541fbf99e6c98e7260cb19d41e.tar.gz pleroma-ab4aa5720aeac8541fbf99e6c98e7260cb19d41e.zip |
Fix a bunch of unused variable warnings
Diffstat (limited to 'test/support/httpoison_mock.ex')
-rw-r--r-- | test/support/httpoison_mock.ex | 6 |
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 |