From e967a409d3b226e4da8d547ace638fc5677ed229 Mon Sep 17 00:00:00 2001 From: Holger Weiss Date: Wed, 18 Dec 2024 22:24:53 +0100 Subject: [PATCH] stundisco_tests: Fix TURNS credentials syntax --- test/stundisco_tests.erl | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/test/stundisco_tests.erl b/test/stundisco_tests.erl index e6e744d15..f892805b2 100644 --- a/test/stundisco_tests.erl +++ b/test/stundisco_tests.erl @@ -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),