diff options
| author | Jeremy Lainé <jeremy.laine@m4x.org> | 2012-07-20 13:02:50 +0200 |
|---|---|---|
| committer | Jeremy Lainé <jeremy.laine@m4x.org> | 2012-07-20 13:02:50 +0200 |
| commit | 8991d3b2a9f83d84b835973f1cc272d0ef0f437c (patch) | |
| tree | 97bce1085aec6fb654a679b024aba66098d32967 /tests/sasl.cpp | |
| parent | 8c36594974268f4bb214fd790142b67fb47dd23c (diff) | |
| download | qxmpp-8991d3b2a9f83d84b835973f1cc272d0ef0f437c.tar.gz | |
fix
Diffstat (limited to 'tests/sasl.cpp')
| -rw-r--r-- | tests/sasl.cpp | 2 |
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")); |
