summaryrefslogtreecommitdiff
path: root/tests/test_stream_xep_0060.py
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2021-03-08 21:10:20 +0100
committermathieui <mathieui@mathieui.net>2021-03-08 21:10:20 +0100
commite97f5ccb9cc8fcab342f706c1b99194b9968e09f (patch)
tree277b18260e121f22de44fb7e8251317a88ee9b1b /tests/test_stream_xep_0060.py
parentcb83ebe32c12b4ccf36753e8f19f4b5d514ae00e (diff)
parent432a3326362775b171ceb3466cb7fb28312e4798 (diff)
downloadslixmpp-e97f5ccb9cc8fcab342f706c1b99194b9968e09f.tar.gz
slixmpp-e97f5ccb9cc8fcab342f706c1b99194b9968e09f.tar.bz2
slixmpp-e97f5ccb9cc8fcab342f706c1b99194b9968e09f.tar.xz
slixmpp-e97f5ccb9cc8fcab342f706c1b99194b9968e09f.zip
Merge branch 'fix-0004-field-type' into 'master'
Fix 0004 field type See merge request poezio/slixmpp!148
Diffstat (limited to 'tests/test_stream_xep_0060.py')
-rw-r--r--tests/test_stream_xep_0060.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/test_stream_xep_0060.py b/tests/test_stream_xep_0060.py
index da543f96..a5fd0bdc 100644
--- a/tests/test_stream_xep_0060.py
+++ b/tests/test_stream_xep_0060.py
@@ -72,7 +72,7 @@ class TestStreamPubsub(SlixTest):
<field var="pubsub#access_model">
<value>whitelist</value>
</field>
- <field var="FORM_TYPE">
+ <field var="FORM_TYPE" type="hidden">
<value>http://jabber.org/protocol/pubsub#node_config</value>
</field>
</x>
@@ -210,7 +210,7 @@ class TestStreamPubsub(SlixTest):
<subscribe node="somenode" jid="tester@localhost" />
<options>
<x xmlns="jabber:x:data" type="submit">
- <field var="FORM_TYPE">
+ <field var="FORM_TYPE" type="hidden">
<value>http://jabber.org/protocol/pubsub#subscribe_options</value>
</field>
<field var="pubsub#digest">
@@ -358,7 +358,7 @@ class TestStreamPubsub(SlixTest):
<pubsub xmlns="http://jabber.org/protocol/pubsub#owner">
<configure node="somenode">
<x xmlns="jabber:x:data" type="submit">
- <field var="FORM_TYPE">
+ <field var="FORM_TYPE" type="hidden">
<value>http://jabber.org/protocol/pubsub#node_config</value>
</field>
<field var="pubsub#title">
@@ -441,7 +441,7 @@ class TestStreamPubsub(SlixTest):
</publish>
<publish-options>
<x xmlns="jabber:x:data" type="submit">
- <field var="FORM_TYPE">
+ <field var="FORM_TYPE" type="hidden">
<value>http://jabber.org/protocol/pubsub#publish-options</value>
</field>
<field var="pubsub#access_model">
@@ -622,7 +622,7 @@ class TestStreamPubsub(SlixTest):
<pubsub xmlns="http://jabber.org/protocol/pubsub">
<options node="somenode" jid="tester@localhost">
<x xmlns="jabber:x:data" type="submit">
- <field var="FORM_TYPE">
+ <field var="FORM_TYPE" type="hidden">
<value>http://jabber.org/protocol/pubsub#subscribe_options</value>
</field>
<field var="pubsub#digest">