[Lada-commits] [PATCH 2 of 2] merged
Wald Commits
scm-commit at wald.intevation.org
Fri Oct 11 12:00:25 CEST 2013
# HG changeset patch
# User Raimund Renkert <rrenkert at intevation.de>
# Date 1381485841 -7200
# Node ID 768afe4f794115d1156970924be1aad8fb54089d
# Parent 012f76de06874e2774cdc9a828b958cabe5a6638
# Parent 77b4b85b0134c71c5f1ebc3dd28c126d9fb38dfb
merged.
diff -r 012f76de0687 -r 768afe4f7941 src/test/java/de/intevation/lada/TestRestEasyClient.java
--- 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());
More information about the Lada-commits
mailing list