25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-24 16:23:40 +01:00

Fix quicktest case

Missing initialization, required for ets table to exists
This commit is contained in:
Pablo Polvorin 2016-06-05 16:35:14 -03:00
parent 8305cc293b
commit 41c3751fa1

View File

@ -43,6 +43,7 @@ defmodule EjabberdModAdminExtraTest do
_ -> :ok _ -> :ok
end end
:ejabberd_commands.init :ejabberd_commands.init
:ok = :ejabberd_config.start([@domain], [])
:mod_admin_extra.start(@domain, []) :mod_admin_extra.start(@domain, [])
:sel_application.start_app(:moka) :sel_application.start_app(:moka)
{:ok, _pid} = :ejabberd_hooks.start_link {:ok, _pid} = :ejabberd_hooks.start_link