summaryrefslogtreecommitdiff
path: root/test/mod_http_api_mock_test.exs
diff options
context:
space:
mode:
authorPaweł Chmielowski <pchmielowski@process-one.net>2016-05-31 00:07:26 +0200
committerPaweł Chmielowski <pchmielowski@process-one.net>2016-05-31 00:07:26 +0200
commit622bff23a43656993db462de31756c0fa57a28ed (patch)
treeac5b8278913f5e061a3e0ade9dc8c96938f730eb /test/mod_http_api_mock_test.exs
parentFix mod_http_api_test.exs (diff)
Update test
Diffstat (limited to 'test/mod_http_api_mock_test.exs')
-rw-r--r--test/mod_http_api_mock_test.exs4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/mod_http_api_mock_test.exs b/test/mod_http_api_mock_test.exs
index 78832d7a..47b1fe94 100644
--- a/test/mod_http_api_mock_test.exs
+++ b/test/mod_http_api_mock_test.exs
@@ -75,7 +75,7 @@ defmodule ModHttpApiMockTest do
:meck.expect(:ejabberd_commands, :get_commands,
fn () -> [@acommand] end)
:meck.expect(:ejabberd_commands, :execute_command,
- fn (:undefined, {@user, @domain, @userpass, false}, @acommand, [], @version) ->
+ fn (:undefined, {@user, @domain, @userpass, false}, @acommand, [], @version, _) ->
:ok
end)
@@ -129,7 +129,7 @@ defmodule ModHttpApiMockTest do
fn () -> [@acommand] end)
:meck.expect(:ejabberd_commands, :execute_command,
fn (:undefined, {@user, @domain, {:oauth, _token}, false},
- @acommand, [], @version) ->
+ @acommand, [], @version, _) ->
:ok
end)