]> git.aero2k.de Git - tmp/jakarta-migration.git/commitdiff
CSPACE-324: Updated URLs in two client tests to reflect changes in ID Service introdu...
authorAron Roberts <aron@socrates.berkeley.edu>
Thu, 13 Aug 2009 00:43:13 +0000 (00:43 +0000)
committerAron Roberts <aron@socrates.berkeley.edu>
Thu, 13 Aug 2009 00:43:13 +0000 (00:43 +0000)
services/client/src/test/java/org/collectionspace/services/client/test/ServiceTest.java

index 98b8b600b255f9b6f22f002c755fdd6c0a3c25c4..2411f3e9d0d17faa346d4dce8b8df39fa8769790 100644 (file)
@@ -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);