changeset 387:768afe4f7941 0.6.1

merged.
author Raimund Renkert <rrenkert@intevation.de>
date Fri, 11 Oct 2013 12:04:01 +0200
parents 012f76de0687 (current diff) 77b4b85b0134 (diff)
children 404283504686
files
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/test/java/de/intevation/lada/TestRestEasyClient.java	Fri Oct 11 12:03:25 2013 +0200
+++ b/src/test/java/de/intevation/lada/TestRestEasyClient.java	Fri Oct 11 12:04:01 2013 +0200
@@ -8,7 +8,7 @@
 
 public class TestRestEasyClient {
 
-    public static String baseURL = "https://bfs-lada.intevation.de/lada/server/rest/";
+    public static String baseURL = "https://bfs-lada.intevation.de/lada-0.6/server/rest/";
 
     public ClientResponse<String> getResponse(String url, boolean header){
         ClientRequest request = new ClientRequest(url);
@@ -83,8 +83,8 @@
     }
     @Test
     public void testLProbenService() {
-        testHttpOK(baseURL + "proben?mstId=06010&umwId=N24");
-        testHttpForbidden(baseURL + "proben?mstId=06010&umwId=N24");
+        testHttpOK(baseURL + "proben?mst_id=06010&umw_id=N24&qid=2");
+        testHttpForbidden(baseURL + "proben?mst_id=06010&umw_id=N24&qid=2");
         ClientResponse<String> response = getResponse(baseURL + "proben/000007587685X", true);
         Assert.assertNotNull(response);
         Assert.assertEquals(200, response.getStatus());
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)