aboutsummaryrefslogtreecommitdiff
path: root/tests/qxmppdiscoverymanager/tst_qxmppdiscoverymanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/qxmppdiscoverymanager/tst_qxmppdiscoverymanager.cpp')
-rw-r--r--tests/qxmppdiscoverymanager/tst_qxmppdiscoverymanager.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/qxmppdiscoverymanager/tst_qxmppdiscoverymanager.cpp b/tests/qxmppdiscoverymanager/tst_qxmppdiscoverymanager.cpp
index 43dfd836..676b000c 100644
--- a/tests/qxmppdiscoverymanager/tst_qxmppdiscoverymanager.cpp
+++ b/tests/qxmppdiscoverymanager/tst_qxmppdiscoverymanager.cpp
@@ -40,7 +40,7 @@ void tst_QXmppDiscoveryManager::testInfo()
auto future = discoManager->requestDiscoInfo("user@example.org");
test.expect("<iq id='qxmpp1' to='user@example.org' type='get'><query xmlns='http://jabber.org/protocol/disco#info'/></iq>");
- test.inject(R"(
+ test.inject<QString>(R"(
<iq id='qxmpp1' from='user@example.org' type='result'>
<query xmlns='http://jabber.org/protocol/disco#info'>
<identity category='pubsub' type='service'/>
@@ -64,7 +64,7 @@ void tst_QXmppDiscoveryManager::testItems()
auto future = discoManager->requestDiscoItems("user@example.org");
test.expect("<iq id='qxmpp1' to='user@example.org' type='get'><query xmlns='http://jabber.org/protocol/disco#items'/></iq>");
qDebug() << "Moin";
- test.inject(R"(
+ test.inject<QString>(R"(
<iq type='result'
from='user@example.org'
id='qxmpp1'>