aboutsummaryrefslogtreecommitdiff
path: root/tests/tests.cpp
diff options
context:
space:
mode:
authorJeremy Lainé <jeremy.laine@m4x.org>2010-08-23 08:09:55 +0000
committerJeremy Lainé <jeremy.laine@m4x.org>2010-08-23 08:09:55 +0000
commit48d168a970bcdb9c0ab7e054029833059dbb5b32 (patch)
tree8921528cb238a276823ca27147125fd28a722da4 /tests/tests.cpp
parent555eb57d29614a23572df12d59f02ebf5fdd2672 (diff)
downloadqxmpp-48d168a970bcdb9c0ab7e054029833059dbb5b32.tar.gz
fix tests for QXmppSessionIq
Diffstat (limited to 'tests/tests.cpp')
-rw-r--r--tests/tests.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/tests.cpp b/tests/tests.cpp
index 91cf510e..b37d72ee 100644
--- a/tests/tests.cpp
+++ b/tests/tests.cpp
@@ -34,7 +34,7 @@
#include "QXmppNonSASLAuth.h"
#include "QXmppPresence.h"
#include "QXmppRpcIq.h"
-#include "QXmppSession.h"
+#include "QXmppSessionIq.h"
#include "QXmppStreamFeatures.h"
#include "QXmppUtils.h"
#include "tests.h"
@@ -298,7 +298,7 @@ void TestPackets::testSession()
"<session xmlns=\"urn:ietf:params:xml:ns:xmpp-session\"/>"
"</iq>");
- QXmppSession session;
+ QXmppSessionIq session;
parsePacket(session, xml);
QCOMPARE(session.id(), QString("session_1"));
QCOMPARE(session.to(), QString("example.com"));