aboutsummaryrefslogtreecommitdiff
path: root/test/support
diff options
context:
space:
mode:
authorlain <lain@soykaf.club>2018-03-19 17:42:09 +0100
committerlain <lain@soykaf.club>2018-03-19 17:42:09 +0100
commitec831751004e024aeff48f2afdbd4b90bc43e8e8 (patch)
tree764cd8621a302a30b16060c66de4342b5f49f800 /test/support
parent4d5161b16d21cb7880b468dd28b11581a148d4a3 (diff)
downloadpleroma-ec831751004e024aeff48f2afdbd4b90bc43e8e8.tar.gz
Use connection pools.
Diffstat (limited to 'test/support')
-rw-r--r--test/support/httpoison_mock.ex4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/support/httpoison_mock.ex b/test/support/httpoison_mock.ex
index a8b1a60c0..a45eaf170 100644
--- a/test/support/httpoison_mock.ex
+++ b/test/support/httpoison_mock.ex
@@ -450,4 +450,8 @@ defmodule HTTPoisonMock 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
+ {:error, "Not implemented the mock response for post #{inspect(url)}"}
+ end
end