Fix mod_roster start invocation in elixir tests

This commit is contained in:
Paweł Chmielowski 2018-01-31 09:34:54 +01:00
parent 51f652a1e1
commit 485f8e48e5
1 changed files with 3 additions and 3 deletions

View File

@ -45,9 +45,9 @@ defmodule ModRosterMock do
:ejabberd_mnesia.create(:mod_roster_mnesia, :roster_version,
[ram_copies: [node()],
attributes: Keyword.keys(roster_version(roster_version()))])
#:mod_roster.stop(domain)
:mod_roster.start(domain, [])
end
#:mod_roster.stop(domain)
:gen_mod.start_module(domain, :mod_roster)
end
def mock_with_moka(module) do
try do