aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMelvin Keskin <melvo@olomono.de>2022-04-10 12:55:36 +0200
committerLinus Jahn <lnj@kaidan.im>2022-04-20 19:56:43 +0200
commitce1aef34b88b4d4f6666ee47e32d0a6ae78a1088 (patch)
tree830070a996593b398e6c5bbb42d8212be6d4d17f /tests
parent363f24e4c986f3cd46d32a9339e7ad126a500b64 (diff)
downloadqxmpp-ce1aef34b88b4d4f6666ee47e32d0a6ae78a1088.tar.gz
Fix PubSub methods with a standard item ID parameter
Diffstat (limited to 'tests')
-rw-r--r--tests/qxmpppubsubmanager/tst_qxmpppubsubmanager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/qxmpppubsubmanager/tst_qxmpppubsubmanager.cpp b/tests/qxmpppubsubmanager/tst_qxmpppubsubmanager.cpp
index 3097b608..9d15b992 100644
--- a/tests/qxmpppubsubmanager/tst_qxmpppubsubmanager.cpp
+++ b/tests/qxmpppubsubmanager/tst_qxmpppubsubmanager.cpp
@@ -868,7 +868,7 @@ void tst_QXmppPubSubManager::testRequestCurrentPepItem()
{
auto [test, psManager] = Client();
- auto future = psManager->requestPepItem(QStringLiteral("princely_musings"));
+ auto future = psManager->requestPepItem(QStringLiteral("princely_musings"), PSManager::Current);
test.expect(QStringLiteral("<iq id='qxmpp1' type='get'>"
"<pubsub xmlns='http://jabber.org/protocol/pubsub'>"
"<items node='princely_musings'>"