projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix format.
[akkoma]
/
test
/
support
/
httpoison_mock.ex
diff --git
a/test/support/httpoison_mock.ex
b/test/support/httpoison_mock.ex
index ba35c44603f00068299a75e2088d86f390dea20a..4a5a9ea856a44041813c56f7f347a50fc182e891 100644
(file)
--- 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",
def post(
"https://social.heldscal.la/main/push/hub",
- {:form, data},
+ {:form,
_
data},
"Content-type": "application/x-www-form-urlencoded"
) do
{:ok,
"Content-type": "application/x-www-form-urlencoded"
) do
{:ok,
@@
-711,11
+711,11
@@
defmodule HTTPoisonMock do
}"}
end
}"}
end
- def post(url,
body,
headers) do
+ def post(url,
_body, _
headers) do
{:error, "Not implemented the mock response for post #{inspect(url)}"}
end
{: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
{:error, "Not implemented the mock response for post #{inspect(url)}"}
end
end