mirror of
https://github.com/processone/ejabberd
synced 2025-10-06 03:50:15 +02:00
Update tests for changes in acl start code
This commit is contained in:
parent
0db99ccb4b
commit
c950fc05f0
2 changed files with 3 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue