aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMelvin Keskin <melvo@olomono.de>2022-01-25 18:32:35 +0100
committerLinus Jahn <lnj@kaidan.im>2022-04-09 22:27:12 +0200
commitb6ff920dff2b964d04d875ac3c8c32e0b35f81ea (patch)
tree50ff975eae064ab2361ef9546ba31baefbd05d60
parent94f4a045d5f7994fbe000f41a3fd2f6bf4431511 (diff)
downloadqxmpp-b6ff920dff2b964d04d875ac3c8c32e0b35f81ea.tar.gz
tests: PubSubManager: Correct JID for 'testFetchNodes()'
The other XML string contained a different from attribute
-rw-r--r--tests/qxmpppubsubmanager/tst_qxmpppubsubmanager.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/qxmpppubsubmanager/tst_qxmpppubsubmanager.cpp b/tests/qxmpppubsubmanager/tst_qxmpppubsubmanager.cpp
index 8eadc895..3097b608 100644
--- a/tests/qxmpppubsubmanager/tst_qxmpppubsubmanager.cpp
+++ b/tests/qxmpppubsubmanager/tst_qxmpppubsubmanager.cpp
@@ -242,8 +242,8 @@ void tst_QXmppPubSubManager::testFetchNodes()
{
auto [test, psManager] = Client();
- auto future = psManager->fetchNodes("pepuser@qxmpp.org");
- test.expect("<iq id='qxmpp1' to='pepuser@qxmpp.org' type='get'><query xmlns='http://jabber.org/protocol/disco#items'/></iq>");
+ auto future = psManager->fetchNodes("pubsub.shakespeare.lit");
+ test.expect("<iq id='qxmpp1' to='pubsub.shakespeare.lit' type='get'><query xmlns='http://jabber.org/protocol/disco#items'/></iq>");
test.inject(QStringLiteral("<iq type='result' from='pubsub.shakespeare.lit' to='francisco@denmark.lit/barracks' id='qxmpp1'>"
"<query xmlns='http://jabber.org/protocol/disco#items'>"
"<item jid='pubsub.shakespeare.lit' node='blogs' name='Weblog updates'/>"