Diff

spec/scansion/pubsub_preconditions.scs @ 12966:7465d3c5679d

scansion: Fix tests failing after addition of pubsub#itemreply config field This is a newly added field, and we expect to see it in these places now.
author Matthew Wild <mwild1@gmail.com>
date Thu, 23 Mar 2023 14:16:32 +0000
parent 11856:14a679588b7b
line wrap: on
line diff
--- a/spec/scansion/pubsub_preconditions.scs	Thu Mar 23 14:15:33 2023 +0000
+++ b/spec/scansion/pubsub_preconditions.scs	Thu Mar 23 14:16:32 2023 +0000
@@ -118,6 +118,18 @@
 					<field var="pubsub#notify_retract" label="Whether to notify subscribers when items are removed from the node" type="boolean">
 						<value>1</value>
 					</field>
+					<field label="Specify whose JID to include as the publisher of items" var="pubsub#itemreply" type="list-single">
+						<option label="Include the node owner's JID">
+							<value>owner</value>
+						</option>
+						<option label="Include the item publisher's JID">
+							<value>publisher</value>
+						</option>
+						<option label="Don't include any JID with items">
+							<value>none</value>
+						</option>
+						<value>none</value>
+					</field>
 				</x>
 			</configure>
 		</pubsub>
@@ -199,6 +211,9 @@
 					<field var="pubsub#notify_retract" type="boolean" label="Whether to notify subscribers when items are removed from the node">
 						<value>1</value>
 					</field>
+					<field var="pubsub#itemreply" type="boolean">
+						<value>none</value>
+					</field>
 				</x>
 			</configure>
 		</pubsub>