From: Paweł Chmielowski Date: Mon, 30 May 2016 22:07:26 +0000 (+0200) Subject: Update test X-Git-Tag: 16.06~65 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=622bff23a43656993db462de31756c0fa57a28ed;p=ejabberd Update test --- diff --git a/test/mod_http_api_mock_test.exs b/test/mod_http_api_mock_test.exs index 78832d7a5..47b1fe94a 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)