aboutsummaryrefslogtreecommitdiff
path: root/tests/tests.cpp
diff options
context:
space:
mode:
authorJeremy Lainé <jeremy.laine@m4x.org>2012-07-17 10:04:56 +0200
committerJeremy Lainé <jeremy.laine@m4x.org>2012-07-17 10:04:56 +0200
commitac8355268857aa50c3be0fed19edaf654c08b651 (patch)
tree17538fa28c62e138a17a0c1301c767e9a8549bd7 /tests/tests.cpp
parentd4718ed72ea2610b8cd584ea82016c8fc0fda2de (diff)
downloadqxmpp-ac8355268857aa50c3be0fed19edaf654c08b651.tar.gz
QXmppArchiveRetrieveIq: replace "max" by result set management
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 3264dc1b..53e854ac 100644
--- a/tests/tests.cpp
+++ b/tests/tests.cpp
@@ -282,7 +282,7 @@ void TestPackets::testArchiveRetrieve()
QCOMPARE(iq.id(), QLatin1String("retrieve_1"));
QCOMPARE(iq.with(), QLatin1String("juliet@capulet.com"));
QCOMPARE(iq.start(), QDateTime(QDate(1469, 7, 21), QTime(2, 0, 0), Qt::UTC));
- QCOMPARE(iq.max(), 30);
+ QCOMPARE(iq.resultSetQuery().max(), 30);
serializePacket(iq, xml);
}