aboutsummaryrefslogtreecommitdiff
path: root/tests/sasl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/sasl.cpp')
-rw-r--r--tests/sasl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/sasl.cpp b/tests/sasl.cpp
index e2045266..8cddbba1 100644
--- a/tests/sasl.cpp
+++ b/tests/sasl.cpp
@@ -201,7 +201,7 @@ void tst_QXmppSaslServer::testPlain()
// initial step returns success
QByteArray response;
- QCOMPARE(server->respond(QByteArray("\0foo\0bar", 8), response), QXmppSaslServer::Succeeded);
+ QCOMPARE(server->respond(QByteArray("\0foo\0bar", 8), response), QXmppSaslServer::InputNeeded);
QCOMPARE(response, QByteArray());
QCOMPARE(server->username(), QLatin1String("foo"));
QCOMPARE(server->password(), QLatin1String("bar"));