aboutsummaryrefslogtreecommitdiffstats
path: root/spec
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
commitb423e6cea01f29e77520a1b7f261ef639245a79a (patch)
treea51b6c5c12c6842daf43aadc139080dd9cd7a25d /spec
parentaabc695f33dd1602d4f55da6a5f97f6b6180011f (diff)
downloadprosody-b423e6cea01f29e77520a1b7f261ef639245a79a.tar.gz
prosody-b423e6cea01f29e77520a1b7f261ef639245a79a.zip
MUC tests: Add <required/> to expected form field
Diffstat (limited to 'spec')
-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>