From f12a330521e356732dfe6ad41158532aa1ccc70f Mon Sep 17 00:00:00 2001 From: Aron Roberts Date: Tue, 8 Jan 2013 14:45:20 -0800 Subject: [PATCH] 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. --- .../batch/batch-update-object-loc.xml | 72 ++++++++++++++++--- 1 file changed, 63 insertions(+), 9 deletions(-) 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 + + + -- 2.47.3