From d0738485bbcb2de6fd0e78f90437ac6aa27113e7 Mon Sep 17 00:00:00 2001 From: Jeremy Lainé Date: Mon, 11 Oct 2010 11:32:07 +0000 Subject: store the capability verification string as a QByteArray --- tests/tests.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/tests.cpp') 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); } -- cgit v1.2.3