diff --git a/test/ejabberd_commands_mock_test.exs b/test/ejabberd_commands_mock_test.exs index 7712cde48..dd857a083 100644 --- a/test/ejabberd_commands_mock_test.exs +++ b/test/ejabberd_commands_mock_test.exs @@ -61,7 +61,7 @@ defmodule EjabberdCommandsMockTest do :meck.unload :meck.new(@module, [:non_strict]) :mnesia.delete_table(:ejabberd_commands) - :ejabberd_commands.init + :ejabberd_commands.start_link end test "API command can be registered, listed and unregistered" do