Changeset

10754:18f2c7bc5795 0.11

MUC tests: Add <required/> to expected form field
author Matthew Wild <mwild1@gmail.com>
date Thu, 23 Apr 2020 13:29:23 +0100
parents 10753:925081396c59
children 10755:aa8a67111cb1
files spec/scansion/muc_register.scs
diffstat 1 files changed, 6 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/spec/scansion/muc_register.scs	Thu Apr 23 13:16:25 2020 +0100
+++ b/spec/scansion/muc_register.scs	Thu Apr 23 13:29:23 2020 +0100
@@ -100,7 +100,9 @@
 				<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 @@
 				<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>