aboutsummaryrefslogtreecommitdiff
path: root/tests/tests.cpp
diff options
context:
space:
mode:
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);
}