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.
--- a/spec/scansion/pubsub_config.scs Thu Mar 23 14:15:33 2023 +0000
+++ b/spec/scansion/pubsub_config.scs Thu Mar 23 14:16:32 2023 +0000
@@ -119,6 +119,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>
--- a/spec/scansion/pubsub_max_items.scs Thu Mar 23 14:15:33 2023 +0000
+++ b/spec/scansion/pubsub_max_items.scs Thu Mar 23 14:16:32 2023 +0000
@@ -114,6 +114,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>
--- a/spec/scansion/pubsub_multi_items.scs Thu Mar 23 14:15:33 2023 +0000
+++ b/spec/scansion/pubsub_multi_items.scs Thu Mar 23 14:16:32 2023 +0000
@@ -114,6 +114,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>
--- 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>