From c950fc05f0907539848c2c4bef536b747882c35c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Chmielowski?= Date: Fri, 24 Feb 2017 11:49:31 +0100 Subject: [PATCH] Update tests for changes in acl start code --- test/acl_test.exs | 3 ++- test/ejabberd_commands_mock_test.exs | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/test/acl_test.exs b/test/acl_test.exs index 6a6e1228c..ada2d8fb1 100644 --- a/test/acl_test.exs +++ b/test/acl_test.exs @@ -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 diff --git a/test/ejabberd_commands_mock_test.exs b/test/ejabberd_commands_mock_test.exs index 8642c411d..7712cde48 100644 --- a/test/ejabberd_commands_mock_test.exs +++ b/test/ejabberd_commands_mock_test.exs @@ -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