From 622bff23a43656993db462de31756c0fa57a28ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Chmielowski?= Date: Tue, 31 May 2016 00:07:26 +0200 Subject: [PATCH] Update test --- test/mod_http_api_mock_test.exs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)