changeset 385:77b4b85b0134

Fixed tests to connect to the latest server version.
author Torsten Irländer <torsten.irlaender@intevation.de>
date Fri, 11 Oct 2013 11:45:51 +0200
parents 5c4010659967
children 768afe4f7941
files src/test/java/de/intevation/lada/TestRestEasyClient.java
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/test/java/de/intevation/lada/TestRestEasyClient.java	Wed Oct 09 15:00:31 2013 +0200
+++ b/src/test/java/de/intevation/lada/TestRestEasyClient.java	Fri Oct 11 11:45:51 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)