mirror of
https://github.com/processone/ejabberd.git
synced 2024-12-26 17:38:45 +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,
|
:ejabberd_mnesia.create(:mod_roster_mnesia, :roster_version,
|
||||||
[ram_copies: [node()],
|
[ram_copies: [node()],
|
||||||
attributes: Keyword.keys(roster_version(roster_version()))])
|
attributes: Keyword.keys(roster_version(roster_version()))])
|
||||||
#:mod_roster.stop(domain)
|
#:mod_roster.stop(domain)
|
||||||
:mod_roster.start(domain, [])
|
:gen_mod.start_module(domain, :mod_roster)
|
||||||
end
|
end
|
||||||
|
|
||||||
def mock_with_moka(module) do
|
def mock_with_moka(module) do
|
||||||
try do
|
try do
|
||||||
|
Loading…
Reference in New Issue
Block a user