From 99bd8884bc87fbdbbe3a053f3afda9155b914c0f Mon Sep 17 00:00:00 2001 From: Olivier Goffart Date: Fri, 6 Jul 2012 18:50:46 +0200 Subject: Ability to use more complex result set management while getting the archive list --- 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 a97a7255..f67fbc4f 100644 --- a/tests/tests.cpp +++ b/tests/tests.cpp @@ -208,7 +208,7 @@ void TestPackets::testArchiveList() QCOMPARE(iq.with(), QLatin1String("juliet@capulet.com")); QCOMPARE(iq.start(), QDateTime(QDate(1469, 7, 21), QTime(2, 0, 0), Qt::UTC)); QCOMPARE(iq.end(), QDateTime(QDate(1479, 7, 21), QTime(4, 0, 0), Qt::UTC)); - QCOMPARE(iq.max(), 30); + QCOMPARE(iq.resultSetQuery().max(), 30); serializePacket(iq, xml); } -- cgit v1.2.3