From: remillet Date: Thu, 18 Jan 2018 00:17:29 +0000 (-0800) Subject: DRYD-202: Adding tests for dealing with POSTs to /vocabularies with term items in... X-Git-Url: https://git.aero2k.de/?a=commitdiff_plain;h=0ad118baba853a613738973689a35730f0242a27;p=tmp%2Fjakarta-migration.git DRYD-202: Adding tests for dealing with POSTs to /vocabularies with term items in the payload. --- diff --git a/services/IntegrationTests/src/test/resources/test-data/xmlreplay/vocabulary/PostWithItems/postWithItems-vocab.xml b/services/IntegrationTests/src/test/resources/test-data/xmlreplay/vocabulary/PostWithItems/postWithItems-vocab.xml new file mode 100644 index 000000000..b2e1809f2 --- /dev/null +++ b/services/IntegrationTests/src/test/resources/test-data/xmlreplay/vocabulary/PostWithItems/postWithItems-vocab.xml @@ -0,0 +1,28 @@ + + + + PostWithItems Vocabulary + postwithitems + This is a test vocabulary created in the PostWithItems XMLReplay test group + Some mythical book posted with item terms + + + + true + 1 + PostWithItems item PostWithItems1 + PostWithItems1 + + + true + 2 + PostWithItems item PostWithItems2 + ShowItemsItem2 + + + 3 + PostWithItems item PostWithItems3 + PostWithItems3 + + + diff --git a/services/IntegrationTests/src/test/resources/test-data/xmlreplay/vocabulary/vocabulary.xml b/services/IntegrationTests/src/test/resources/test-data/xmlreplay/vocabulary/vocabulary.xml index 92924270f..b91cce90f 100644 --- a/services/IntegrationTests/src/test/resources/test-data/xmlreplay/vocabulary/vocabulary.xml +++ b/services/IntegrationTests/src/test/resources/test-data/xmlreplay/vocabulary/vocabulary.xml @@ -6,10 +6,22 @@ YWRtaW5AY29sbGVjdGlvbnNwYWNlLm9yZzpBZG1pbmlzdHJhdG9y - + + + POST + /cspace-services/vocabularies/ + vocabulary/PostWithItems/postWithItems-vocab.xml + + + + - + POST /cspace-services/vocabularies/ @@ -110,6 +122,9 @@ +