aboutsummaryrefslogtreecommitdiff
path: root/tests/tests.cpp
diff options
context:
space:
mode:
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"));