mirror of
https://github.com/processone/ejabberd.git
synced 2024-12-24 17:29:28 +01:00
Fix mod_roster start invocation in elixir tests
This commit is contained in:
parent
51f652a1e1
commit
485f8e48e5
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user