aboutsummaryrefslogtreecommitdiff
path: root/tests/tests.cpp
diff options
context:
space:
mode:
authorJeremy Lainé <jeremy.laine@m4x.org>2010-10-29 16:04:56 +0000
committerJeremy Lainé <jeremy.laine@m4x.org>2010-10-29 16:04:56 +0000
commita58b2f87bf12f24c8052c207254458ef6b20dd75 (patch)
treeb6accec8bd3f9fc7afc922db41f65c72d0106777 /tests/tests.cpp
parentff65bdcfe93d3285079f4509f82d5e24cef88e81 (diff)
downloadqxmpp-a58b2f87bf12f24c8052c207254458ef6b20dd75.tar.gz
fix QXmppEntityTimeIq tests
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 b9ec18af..0e985b74 100644
--- a/tests/tests.cpp
+++ b/tests/tests.cpp
@@ -641,7 +641,7 @@ void TestPackets::testEntityTimeResult()
QCOMPARE(entityTime.to(), QLatin1String("romeo@montague.net/orchard"));
QCOMPARE(entityTime.type(), QXmppIq::Result);
QCOMPARE(entityTime.tzo(), QString("-06:00"));
- QCOMPARE(entityTime.utc(), QString("2006-12-19T17:58:35Z"));
+ QCOMPARE(entityTime.utc(), QDateTime(QDate(2006, 12, 19), QTime(17, 58, 35), Qt::UTC));
serializePacket(entityTime, xml);
}