mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-24 16:23:40 +01:00
Update tests to cyrsasl modifications
This commit is contained in:
parent
6808865068
commit
ac548f2e95
@ -29,7 +29,7 @@ defmodule EjabberdCyrsaslTest do
|
|||||||
:ok = start_module(:stringprep)
|
:ok = start_module(:stringprep)
|
||||||
{:ok, _} = start_module(:jid)
|
{:ok, _} = start_module(:jid)
|
||||||
:ok = :ejabberd_config.start(["domain1"], [])
|
:ok = :ejabberd_config.start(["domain1"], [])
|
||||||
:ok = :cyrsasl.start
|
:ok = :cyrsasl.start_link
|
||||||
cyrstate = :cyrsasl.server_new("domain1", "domain1", "domain1", :ok, &get_password/1,
|
cyrstate = :cyrsasl.server_new("domain1", "domain1", "domain1", :ok, &get_password/1,
|
||||||
&check_password/3, &check_password_digest/5)
|
&check_password/3, &check_password_digest/5)
|
||||||
setup_anonymous_mocks()
|
setup_anonymous_mocks()
|
||||||
|
Loading…
Reference in New Issue
Block a user