From: Aron Roberts Date: Tue, 8 Jan 2013 22:45:20 +0000 (-0800) Subject: CSPACE-5728: Add test for reverse direction of Movement-CollectionObject relation... X-Git-Url: https://git.aero2k.de/?a=commitdiff_plain;h=f12a330521e356732dfe6ad41158532aa1ccc70f;p=tmp%2Fjakarta-migration.git CSPACE-5728: Add test for reverse direction of Movement-CollectionObject relation. One test commented out, as it requires an upcoming code change to support this direction. --- diff --git a/services/IntegrationTests/src/test/resources/test-data/xmlreplay/batch/batch-update-object-loc.xml b/services/IntegrationTests/src/test/resources/test-data/xmlreplay/batch/batch-update-object-loc.xml index 22da039cb..3f1308041 100644 --- a/services/IntegrationTests/src/test/resources/test-data/xmlreplay/batch/batch-update-object-loc.xml +++ b/services/IntegrationTests/src/test/resources/test-data/xmlreplay/batch/batch-update-object-loc.xml @@ -86,23 +86,22 @@ 201 - - + POST /cspace-services/relations batch/relation.xml - ${createMovement3.CSID} - Movement - ${createCollectionObject.CSID} - CollectionObject + ${createCollectionObject.CSID} + CollectionObject + ${createMovement3.CSID} + Movement 201 - + POST /cspace-services/batch/${createBatchRecord.CSID} batch/batch-invoke-updateobjloc-single.xml @@ -116,7 +115,7 @@ - + GET /cspace-services/collectionobjects/${createCollectionObject.CSID} batch/updateobjloc.xml @@ -128,7 +127,62 @@ 200 - + + + + + + + + POST + /cspace-services/movements + batch/movement.xml + + location-4 + 2100-01-01 + + 201 + + + + + POST + /cspace-services/relations + batch/relation.xml + + ${createMovement4.CSID} + Movement + ${createCollectionObject.CSID} + CollectionObject + + 201 + + + + POST + /cspace-services/batch/${createBatchRecord.CSID} + batch/batch-invoke-updateobjloc-single.xml + + ${createCollectionObject.CSID} + + 200 + + +