mirror of
https://github.com/processone/ejabberd
synced 2025-10-03 17:59:31 +02:00
stundisco_tests: Check correct credentials syntax
This commit is contained in:
parent
8cfcc69100
commit
3bc66a7054
1 changed files with 11 additions and 12 deletions
|
@ -132,18 +132,17 @@ turn_credentials(Config) ->
|
||||||
port = Port,
|
port = Port,
|
||||||
type = Type}]},
|
type = Type}]},
|
||||||
#iq{type = result,
|
#iq{type = result,
|
||||||
sub_els = [#services{
|
sub_els = [#credentials{
|
||||||
type = undefined,
|
services = [#service{host = Host,
|
||||||
list = [#service{host = Host,
|
port = Port,
|
||||||
port = Port,
|
type = Type,
|
||||||
type = Type,
|
transport = Transport,
|
||||||
transport = Transport,
|
restricted = true,
|
||||||
restricted = true,
|
username = Username,
|
||||||
username = Username,
|
password = Password,
|
||||||
password = Password,
|
expires = Expires,
|
||||||
expires = Expires,
|
action = undefined,
|
||||||
action = undefined,
|
xdata = undefined}]}]} =
|
||||||
xdata = undefined}]}]} =
|
|
||||||
send_recv(Config, #iq{type = get, to = ServerJID, sub_els = [Request]}),
|
send_recv(Config, #iq{type = get, to = ServerJID, sub_els = [Request]}),
|
||||||
true = check_password(Username, Password),
|
true = check_password(Username, Password),
|
||||||
true = check_expires(Expires),
|
true = check_expires(Expires),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue