25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-12-20 17:27:00 +01:00

Update tests for changes in acl start code

This commit is contained in:
Paweł Chmielowski 2017-02-24 11:49:31 +01:00
parent 0db99ccb4b
commit c950fc05f0
2 changed files with 3 additions and 2 deletions

View File

@ -29,7 +29,8 @@ defmodule ACLTest do
:ejabberd_hooks.start_link :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_link
:ok
end end
setup do setup do

View File

@ -52,7 +52,7 @@ defmodule EjabberdCommandsMockTest do
:ejabberd_hooks.start_link :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_link
EjabberdOauthMock.init EjabberdOauthMock.init
on_exit fn -> :meck.unload end on_exit fn -> :meck.unload end
end end