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 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);
}