Diff

spec/scansion/muc_password.scs @ 9290:decdaaf78f32

spec/scansion: Multiple fixes to make all tests pass in latest (c35386e4b456) scansion
author Matthew Wild <mwild1@gmail.com>
date Mon, 10 Sep 2018 14:58:44 +0100
parent 9266:c5267f5fd6e6
child 9291:329a670ae975
line wrap: on
line diff
--- a/spec/scansion/muc_password.scs	Sun Sep 09 19:34:59 2018 +0200
+++ b/spec/scansion/muc_password.scs	Mon Sep 10 14:58:44 2018 +0100
@@ -1,10 +1,3 @@
-# MUC password test
-# Ensures that setting and unsetting a MUC password works, and that the password is
-# required to join a password-protected room.
-
-## prosody-0.9 result: fails because of missing 201 status code (related to issue #328)
-## prosody-0.10 result: fails because of missing 201 status code (related to issue #328)
-
 [Client] Romeo
 	jid: user@localhost
 	password: password
@@ -63,7 +56,7 @@
 
 Juliet receives:
 	<presence from="room@conference.localhost/Juliet" type="error">
-		<error type="auth">
+		<error type="auth" code="401">
 			<not-authorized xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/>
 		</error>
 	</presence>
@@ -108,7 +101,6 @@
 					<value>http://jabber.org/protocol/muc#roomconfig</value>
 				</field>
 				<field var='muc#roomconfig_roomsecret'>
-					<value></value>
 				</field>
 			</x>
 		</query>