aboutsummaryrefslogtreecommitdiff
path: root/tests/tests.cpp
diff options
context:
space:
mode:
authorJeremy Lainé <jeremy.laine@m4x.org>2010-10-11 11:32:07 +0000
committerJeremy Lainé <jeremy.laine@m4x.org>2010-10-11 11:32:07 +0000
commitd0738485bbcb2de6fd0e78f90437ac6aa27113e7 (patch)
tree6bff26765ca7cdc9dbd086f4d261766f07445d9c /tests/tests.cpp
parent6cfc6d6afcccf277813bf861a779651417b5aaba (diff)
downloadqxmpp-d0738485bbcb2de6fd0e78f90437ac6aa27113e7.tar.gz
store the capability verification string as a QByteArray
Diffstat (limited to 'tests/tests.cpp')
-rw-r--r--tests/tests.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/tests.cpp b/tests/tests.cpp
index b1d57255..67217a81 100644
--- a/tests/tests.cpp
+++ b/tests/tests.cpp
@@ -477,7 +477,7 @@ void TestPackets::testPresenceWithCapability()
QCOMPARE(presence.vCardUpdateType(), QXmppPresence::PhotoAdvertised);
QCOMPARE(presence.capabilityHash(), QString("sha-1"));
QCOMPARE(presence.capabilityNode(), QString("http://code.google.com/p/qxmpp"));
- QCOMPARE(presence.capabilityVer(), QString("QgayPKawpkPSDYmwT/WM94uAlu0="));
+ QCOMPARE(presence.capabilityVer(), QByteArray::fromBase64("QgayPKawpkPSDYmwT/WM94uAlu0="));
serializePacket(presence, xml);
}