aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Jahn <lnj@kaidan.im>2019-05-04 21:38:54 +0200
committerBoris Pek <tehnick-8@yandex.ru>2019-05-04 23:43:05 +0300
commitee328bb4fa969fe9d69c5781d8a27d0b3f6f5c10 (patch)
treec52dd7425ea47692840a45841ceb8e0c0d1ee8bd
parent8cb3bb4a6d51ca26e0c75ea6ef3f9a3449c00f2b (diff)
downloadqxmpp-ee328bb4fa969fe9d69c5781d8a27d0b3f6f5c10.tar.gz
tests: mix items: Fix using old namespace in examples
-rw-r--r--tests/qxmppmixitem/tst_qxmppmixitem.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/qxmppmixitem/tst_qxmppmixitem.cpp b/tests/qxmppmixitem/tst_qxmppmixitem.cpp
index 46e3e680..e1d73744 100644
--- a/tests/qxmppmixitem/tst_qxmppmixitem.cpp
+++ b/tests/qxmppmixitem/tst_qxmppmixitem.cpp
@@ -43,7 +43,7 @@ void tst_QXmppMixItem::testInfo()
const QByteArray xml(
"<x xmlns=\"jabber:x:data\" type=\"result\">"
"<field type=\"hidden\" var=\"FORM_TYPE\">"
- "<value>urn:xmpp:mix:core:0</value>"
+ "<value>urn:xmpp:mix:core:1</value>"
"</field>"
"<field type=\"text-single\" var=\"Name\">"
"<value>Witches Coven</value>"
@@ -88,7 +88,7 @@ void tst_QXmppMixItem::testIsInfoItem()
const QByteArray xmlCorrect(
"<x xmlns=\"jabber:x:data\" type=\"result\">"
"<field type=\"hidden\" var=\"FORM_TYPE\">"
- "<value>urn:xmpp:mix:core:0</value>"
+ "<value>urn:xmpp:mix:core:1</value>"
"</field>"
"</x>"
);
@@ -111,7 +111,7 @@ void tst_QXmppMixItem::testIsInfoItem()
void tst_QXmppMixItem::testParticipant()
{
const QByteArray xml(
- "<participant xmlns=\"urn:xmpp:mix:core:0\">"
+ "<participant xmlns=\"urn:xmpp:mix:core:1\">"
"<jid>hag66@shakespeare.example</jid>"
"<nick>thirdwitch</nick>"
"</participant>"
@@ -139,7 +139,7 @@ void tst_QXmppMixItem::testIsParticipantItem()
QDomElement element;
const QByteArray xmlCorrect(
- "<participant xmlns=\"urn:xmpp:mix:core:0\">"
+ "<participant xmlns=\"urn:xmpp:mix:core:1\">"
"</participant>"
);
QCOMPARE(doc.setContent(xmlCorrect, true), true);