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:
parent
0db99ccb4b
commit
c950fc05f0
@ -29,7 +29,8 @@ defmodule ACLTest do
|
||||
:ejabberd_hooks.start_link
|
||||
:stringprep.start
|
||||
:ok = :ejabberd_config.start(["domain1", "domain2"], [])
|
||||
:ok = :acl.start
|
||||
{:ok, _} = :acl.start_link
|
||||
:ok
|
||||
end
|
||||
|
||||
setup do
|
||||
|
@ -52,7 +52,7 @@ defmodule EjabberdCommandsMockTest do
|
||||
:ejabberd_hooks.start_link
|
||||
:ok = :ejabberd_config.start(["domain1", "domain2"], [])
|
||||
{:ok, _} = :ejabberd_access_permissions.start_link()
|
||||
:ok = :acl.start
|
||||
{:ok, _} = :acl.start_link
|
||||
EjabberdOauthMock.init
|
||||
on_exit fn -> :meck.unload end
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user