25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-20 16:15:59 +01:00

Fix elixir tests

This commit is contained in:
Paweł Chmielowski 2017-02-23 09:53:20 +01:00
parent a3ea6e7723
commit f4081a363b
2 changed files with 2 additions and 0 deletions

View File

@ -26,6 +26,7 @@ defmodule ACLTest do
setup_all do setup_all do
:ok = :mnesia.start :ok = :mnesia.start
{:ok, _} = :jid.start {:ok, _} = :jid.start
:ejabberd_hooks.start_link
:stringprep.start :stringprep.start
:ok = :ejabberd_config.start(["domain1", "domain2"], []) :ok = :ejabberd_config.start(["domain1", "domain2"], [])
:ok = :acl.start :ok = :acl.start

View File

@ -49,6 +49,7 @@ defmodule EjabberdCommandsMockTest do
end end
:mnesia.start :mnesia.start
{:ok, _} = :jid.start {:ok, _} = :jid.start
:ejabberd_hooks.start_link
:ok = :ejabberd_config.start(["domain1", "domain2"], []) :ok = :ejabberd_config.start(["domain1", "domain2"], [])
{:ok, _} = :ejabberd_access_permissions.start_link() {:ok, _} = :ejabberd_access_permissions.start_link()
:ok = :acl.start :ok = :acl.start