aboutsummaryrefslogtreecommitdiff
path: root/tests/sasl.cpp
diff options
context:
space:
mode:
authorJeremy Lainé <jeremy.laine@m4x.org>2012-07-20 09:21:12 +0200
committerJeremy Lainé <jeremy.laine@m4x.org>2012-07-20 09:21:12 +0200
commitfc010e259215f270c2c400c682feadf6d4d570c9 (patch)
treec4d7cda45495af1a418e8f9fe8527cceda3d63eb /tests/sasl.cpp
parent0c523e7b9658921c49a87a253adb4cc625c4a36a (diff)
downloadqxmpp-fc010e259215f270c2c400c682feadf6d4d570c9.tar.gz
SASL: don't hardcode service type
Diffstat (limited to 'tests/sasl.cpp')
-rw-r--r--tests/sasl.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/sasl.cpp b/tests/sasl.cpp
index 0de2592b..6d2e4244 100644
--- a/tests/sasl.cpp
+++ b/tests/sasl.cpp
@@ -63,7 +63,8 @@ void tst_QXmppSaslClient::testDigestMd5()
client->setUsername("qxmpp1");
client->setPassword("qxmpp123");
- client->setServer("jabber.ru");
+ client->setHost("jabber.ru");
+ client->setServiceType("xmpp");
// initial step returns nothing
QByteArray response;