aboutsummaryrefslogtreecommitdiff
path: root/tests/tests.cpp
diff options
context:
space:
mode:
authorJeremy Lainé <jeremy.laine@m4x.org>2010-11-08 09:41:25 +0000
committerJeremy Lainé <jeremy.laine@m4x.org>2010-11-08 09:41:25 +0000
commit5246260544b23e4507ad99a8e8f115ff500e44ce (patch)
treea9a644aa71fe285b3ba8240928becac26ae896c8 /tests/tests.cpp
parente32af4aa834d4ea33bebb09287d75758c062ec22 (diff)
downloadqxmpp-5246260544b23e4507ad99a8e8f115ff500e44ce.tar.gz
fix entity time iq test
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 53e499fc..6c319404 100644
--- a/tests/tests.cpp
+++ b/tests/tests.cpp
@@ -655,7 +655,7 @@ void TestPackets::testEntityTimeResult()
QCOMPARE(entityTime.from(), QLatin1String("juliet@capulet.com/balcony"));
QCOMPARE(entityTime.to(), QLatin1String("romeo@montague.net/orchard"));
QCOMPARE(entityTime.type(), QXmppIq::Result);
- QCOMPARE(entityTime.tzo(), QString("-06:00"));
+ QCOMPARE(entityTime.tzo(), -21600);
QCOMPARE(entityTime.utc(), QDateTime(QDate(2006, 12, 19), QTime(17, 58, 35), Qt::UTC));
serializePacket(entityTime, xml);
}