25
1
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:
Paweł Chmielowski 2018-01-31 09:34:54 +01:00
parent 51f652a1e1
commit 485f8e48e5

View File

@ -46,7 +46,7 @@ defmodule ModRosterMock do
[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