aboutsummaryrefslogtreecommitdiffstats
path: root/spec/scansion
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2020-04-23 13:29:23 +0100
committerMatthew Wild <mwild1@gmail.com>2020-04-23 13:29:23 +0100
commit016f6e3cb594574a0db355a9c8e3768304e76311 (patch)
treea51b6c5c12c6842daf43aadc139080dd9cd7a25d /spec/scansion
parent5d4025bf01ab5bf3f97a66be712fb3e963e2f7bc (diff)
downloadprosody-016f6e3cb594574a0db355a9c8e3768304e76311.tar.gz
prosody-016f6e3cb594574a0db355a9c8e3768304e76311.zip
MUC tests: Add <required/> to expected form field
Diffstat (limited to 'spec/scansion')
-rw-r--r--spec/scansion/muc_register.scs8
1 files changed, 6 insertions, 2 deletions
diff --git a/spec/scansion/muc_register.scs b/spec/scansion/muc_register.scs
index e1eaf4e0..a077cd76 100644
--- a/spec/scansion/muc_register.scs
+++ b/spec/scansion/muc_register.scs
@@ -100,7 +100,9 @@ Juliet receives:
<field type='hidden' var='FORM_TYPE'>
<value>http://jabber.org/protocol/muc#register</value>
</field>
- <field type='text-single' label='Nickname' var='muc#register_roomnick'/>
+ <field type='text-single' label='Nickname' var='muc#register_roomnick'>
+ <required/>
+ </field>
</x>
</query>
</iq>
@@ -339,7 +341,9 @@ Romeo receives:
<field type='hidden' var='FORM_TYPE'>
<value>http://jabber.org/protocol/muc#register</value>
</field>
- <field type='text-single' label='Nickname' var='muc#register_roomnick'/>
+ <field type='text-single' label='Nickname' var='muc#register_roomnick'>
+ <required/>
+ </field>
</x>
</query>
</iq>