Skip to content

Commit

Permalink
stundisco_tests: Fix TURNS credentials syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
weiss committed Dec 18, 2024
1 parent eaebfc7 commit e967a40
Showing 1 changed file with 11 additions and 12 deletions.
23 changes: 11 additions & 12 deletions test/stundisco_tests.erl
Original file line number Diff line number Diff line change
Expand Up @@ -158,18 +158,17 @@ turns_credentials(Config) ->
port = Port,
type = Type}]},
#iq{type = result,
sub_els = [#services{
type = undefined,
list = [#service{host = Host,
port = Port,
type = Type,
transport = Transport,
restricted = true,
username = Username,
password = Password,
expires = Expires,
action = undefined,
xdata = undefined}]}]} =
sub_els = [#credentials{
services = [#service{host = Host,
port = Port,
type = Type,
transport = Transport,
restricted = true,
username = Username,
password = Password,
expires = Expires,
action = undefined,
xdata = undefined}]}]} =
send_recv(Config, #iq{type = get, to = ServerJID, sub_els = [Request]}),
true = check_password(Username, Password),
true = check_expires(Expires),
Expand Down

0 comments on commit e967a40

Please sign in to comment.