From: Paweł Chmielowski Date: Thu, 23 Feb 2017 08:53:20 +0000 (+0100) Subject: Fix elixir tests X-Git-Tag: 17.03-beta~13 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f4081a363b3031ad4dbac50a96c1387a15dff16e;p=ejabberd Fix elixir tests --- diff --git a/test/acl_test.exs b/test/acl_test.exs index cdfc4f328..6a6e1228c 100644 --- a/test/acl_test.exs +++ b/test/acl_test.exs @@ -26,6 +26,7 @@ defmodule ACLTest do setup_all do :ok = :mnesia.start {:ok, _} = :jid.start + :ejabberd_hooks.start_link :stringprep.start :ok = :ejabberd_config.start(["domain1", "domain2"], []) :ok = :acl.start diff --git a/test/ejabberd_commands_mock_test.exs b/test/ejabberd_commands_mock_test.exs index 83d1f4923..8642c411d 100644 --- a/test/ejabberd_commands_mock_test.exs +++ b/test/ejabberd_commands_mock_test.exs @@ -49,6 +49,7 @@ defmodule EjabberdCommandsMockTest do end :mnesia.start {:ok, _} = :jid.start + :ejabberd_hooks.start_link :ok = :ejabberd_config.start(["domain1", "domain2"], []) {:ok, _} = :ejabberd_access_permissions.start_link() :ok = :acl.start