--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<document name="vocabularies">
+ <ns3:vocabularies_common xmlns:ns3="http://collectionspace.org/services/vocabulary" xmlns:ns2="http://collectionspace.org/services/jaxb">
+ <displayName>PostWithItems Vocabulary</displayName>
+ <shortIdentifier>postwithitems</shortIdentifier>
+ <description>This is a test vocabulary created in the PostWithItems XMLReplay test group</description>
+ <source>Some mythical book posted with item terms</source>
+ </ns3:vocabularies_common>
+ <ns2:abstract-common-list xmlns:ns2="http://collectionspace.org/services/jaxb">
+ <list-item>
+ <proposed>true</proposed>
+ <order>1</order>
+ <displayName>PostWithItems item PostWithItems1</displayName>
+ <shortIdentifier>PostWithItems1</shortIdentifier>
+ </list-item>
+ <list-item>
+ <proposed>true</proposed>
+ <order>2</order>
+ <displayName>PostWithItems item PostWithItems2</displayName>
+ <shortIdentifier>ShowItemsItem2</shortIdentifier>
+ </list-item>
+ <list-item>
+ <order>3</order>
+ <displayName>PostWithItems item PostWithItems3</displayName>
+ <shortIdentifier>PostWithItems3</shortIdentifier>
+ </list-item>
+ </ns2:abstract-common-list>
+</document>
<auth ID="testAdministator">YWRtaW5AY29sbGVjdGlvbnNwYWNlLm9yZzpBZG1pbmlzdHJhdG9y</auth>
</auths>
- <!-- This test group tests the "showItems" query param that can be sent to the /vocabularies/${id} endpoint.
+ <!--
+ Test creation of Vocabulary (TermList) that includes (via an abstract-common-list element) term items.
+ -->
+ <testGroup ID="PostWithItems" autoDeletePOSTS="true">
+ <test ID="createPostWithItems">
+ <method>POST</method>
+ <uri>/cspace-services/vocabularies/</uri>
+ <filename>vocabulary/PostWithItems/postWithItems-vocab.xml</filename>
+ </test>
+ </testGroup>
+
+ <!--
+ This test group tests the "showItems" query param that can be sent to the /vocabularies/${id} endpoint.
The "showItems=true" query param adds all the vocabularies items to the returned payload.
-->
- <testGroup ID="TestShowItems" autoDeletePOSTS="true">
+ <testGroup ID="ShowItems" autoDeletePOSTS="true">
<test ID="createShowItemsVocab">
<method>POST</method>
<uri>/cspace-services/vocabularies/</uri>
</test>
</testGroup>
+ <!--
+ Comments needed to describe this test group.
+ -->
<testGroup ID="TestOrder" autoDeletePOSTS="true">
<!-- The purpose of this testGroup is to test the new "order" field
that was added in http://issues.collectionspace.org/browse/CSPACE-573