Update test

This commit is contained in:
Paweł Chmielowski 2016-05-31 00:07:26 +02:00
parent be0dd51e51
commit 622bff23a4
1 changed files with 2 additions and 2 deletions

View File

@ -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)