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 | 016f6e3cb594574a0db355a9c8e3768304e76311 (patch) | |
tree | a51b6c5c12c6842daf43aadc139080dd9cd7a25d /spec | |
parent | 5d4025bf01ab5bf3f97a66be712fb3e963e2f7bc (diff) | |
download | prosody-016f6e3cb594574a0db355a9c8e3768304e76311.tar.gz prosody-016f6e3cb594574a0db355a9c8e3768304e76311.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> |