From: Richard Millet Date: Wed, 12 Aug 2009 20:18:37 +0000 (+0000) Subject: CSPACE-330: Added 'updateCollectionObject' test dependency to the 'deleteCollectionOb... X-Git-Url: https://git.aero2k.de/?a=commitdiff_plain;h=f803abe492678273d443e7dbd2fe9754486da750;p=tmp%2Fjakarta-migration.git CSPACE-330: Added 'updateCollectionObject' test dependency to the 'deleteCollectionObject' test. Delete test was running first which prevented update test from passing. --- diff --git a/services/collectionobject/client/src/test/java/org/collectionspace/services/client/test/CollectionObjectServiceTest.java b/services/collectionobject/client/src/test/java/org/collectionspace/services/client/test/CollectionObjectServiceTest.java index 0d97f9af5..1ed03db4c 100644 --- a/services/collectionobject/client/src/test/java/org/collectionspace/services/client/test/CollectionObjectServiceTest.java +++ b/services/collectionobject/client/src/test/java/org/collectionspace/services/client/test/CollectionObjectServiceTest.java @@ -407,7 +407,7 @@ public class CollectionObjectServiceTest { * * Expected status code: 200 OK */ - @Test(dependsOnMethods = {"createCollectionObject", "getCollectionObject"}) + @Test(dependsOnMethods = {"createCollectionObject", "getCollectionObject", "updateCollectionObject"}) public void deleteCollectionObject() { verbose("Calling deleteCollectionObject:" + knownCollectionObjectId); ClientResponse res = collectionObjectClient.deleteCollectionObject(knownCollectionObjectId);