diff options
author | Matthew Wild <mwild1@gmail.com> | 2020-04-23 13:29:23 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2020-04-23 13:29:23 +0100 |
commit | b423e6cea01f29e77520a1b7f261ef639245a79a (patch) | |
tree | a51b6c5c12c6842daf43aadc139080dd9cd7a25d /spec | |
parent | aabc695f33dd1602d4f55da6a5f97f6b6180011f (diff) | |
download | prosody-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.scs | 8 |
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> |