From 29fdae7932574adf4394939c7daad2f9b2a14328 Mon Sep 17 00:00:00 2001 From: Aron Roberts Date: Wed, 16 Jan 2013 13:01:10 -0800 Subject: [PATCH] CSPACE-5764: XmlReplay-based tests now cover both update and soft delete cases. --- .../listener/listener-update-object-loc.xml | 47 +++++++++++++++++-- 1 file changed, 43 insertions(+), 4 deletions(-) diff --git a/services/IntegrationTests/src/test/resources/test-data/xmlreplay/listener/listener-update-object-loc.xml b/services/IntegrationTests/src/test/resources/test-data/xmlreplay/listener/listener-update-object-loc.xml index aef4fcb72..5e63e6436 100644 --- a/services/IntegrationTests/src/test/resources/test-data/xmlreplay/listener/listener-update-object-loc.xml +++ b/services/IntegrationTests/src/test/resources/test-data/xmlreplay/listener/listener-update-object-loc.xml @@ -271,10 +271,6 @@ 200 - - - - PUT /cspace-services/relations/${relateCollectionObject1ToMovement5.CSID}/workflow/delete @@ -285,6 +281,17 @@ + + PUT + /cspace-services/movements/${createMovement4.CSID} + listener/movement.xml + + urn:cspace:core.collectionspace.org:locationauthorities:name(offsite_sla):item:name(Vancouver1358215545518)'Vancouver, BC, Canada' + 1900-02-01 + + 200 + + GET /cspace-services/collectionobjects/${createCollectionObject1.CSID} @@ -298,6 +305,38 @@ 200 + + PUT + /cspace-services/movements/${createMovement4.CSID}/workflow/delete + 200 + + + + + + relation/res/workflowState.res.xml + + deleted + + + + + GET + /cspace-services/collectionobjects/${createCollectionObject1.CSID} + + + listener/res/collectionobject.res.xml + + ${createMovement3.currentLocation} + + + 200 + + + + + + DELETE /cspace-services/relations/${relateCollectionObject1ToMovement4.CSID} -- 2.47.3