1
0
Fork 0
mirror of https://github.com/processone/ejabberd synced 2025-10-03 01:39:35 +02:00

stundisco_tests: Fix TURNS credentials syntax

This commit is contained in:
Holger Weiss 2024-12-18 22:24:53 +01:00
parent eaebfc795e
commit e967a409d3

View file

@ -158,18 +158,17 @@ turns_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),