From: Aron Roberts Date: Thu, 13 Aug 2009 00:43:13 +0000 (+0000) Subject: CSPACE-324: Updated URLs in two client tests to reflect changes in ID Service introdu... X-Git-Url: https://git.aero2k.de/?a=commitdiff_plain;h=e76ea774840e22412a2b32efe2bcb16e9edcbc23;p=tmp%2Fjakarta-migration.git CSPACE-324: Updated URLs in two client tests to reflect changes in ID Service introduced in r543 --- diff --git a/services/client/src/test/java/org/collectionspace/services/client/test/ServiceTest.java b/services/client/src/test/java/org/collectionspace/services/client/test/ServiceTest.java index 98b8b600b..2411f3e9d 100644 --- a/services/client/src/test/java/org/collectionspace/services/client/test/ServiceTest.java +++ b/services/client/src/test/java/org/collectionspace/services/client/test/ServiceTest.java @@ -51,7 +51,7 @@ public class ServiceTest { @Test public void servicesExist() { //use ID service that should always be present in a working service layer - String url = serviceClient.getBaseURL() + "ids"; + String url = serviceClient.getBaseURL() + "idgenerators"; OptionsMethod method = new OptionsMethod(url); try{ int statusCode = httpClient.executeMethod(method); @@ -75,7 +75,7 @@ public class ServiceTest { @Test public void methodNotAllowed() { //get is not allowed on id service - String url = serviceClient.getBaseURL() + "ids"; + String url = serviceClient.getBaseURL() + "idgenerators"; GetMethod method = new GetMethod(url); try{ int statusCode = httpClient.executeMethod(method);