aboutsummaryrefslogtreecommitdiffstats
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
commit7d8f93d6886401177b6a2cdbfa1f9cecc512651b (patch)
treea51b6c5c12c6842daf43aadc139080dd9cd7a25d
parent57124da02abba1e3716207c53309cf358d4c401f (diff)
downloadprosody-7d8f93d6886401177b6a2cdbfa1f9cecc512651b.tar.gz
prosody-7d8f93d6886401177b6a2cdbfa1f9cecc512651b.zip
MUC tests: Add <required/> to expected form field
-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>