aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/acl_test.exs1
-rw-r--r--test/ejabberd_commands_mock_test.exs1
2 files changed, 2 insertions, 0 deletions
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