[Lada-commits] [PATCH 4 of 5] Fix typos

Wald Commits scm-commit at wald.intevation.org
Tue Dec 8 15:16:50 CET 2015


# HG changeset patch
# User Tom Gottfried <tom at intevation.de>
# Date 1449583756 -3600
# Branch statusworkflow
# Node ID a6383faca90eabac5bcda3e183617fcf0e08b53b
# Parent  d7a4f3af9e457151de12e7754044f3fbc40fc9f6
Fix typos

diff -r d7a4f3af9e45 -r a6383faca90e src/main/java/de/intevation/lada/rest/StatusService.java
--- a/src/main/java/de/intevation/lada/rest/StatusService.java	Tue Dec 08 15:00:48 2015 +0100
+++ b/src/main/java/de/intevation/lada/rest/StatusService.java	Tue Dec 08 15:09:16 2015 +0100
@@ -148,7 +148,7 @@
             "land");
         if (!authorization.isAuthorized(authorization.getInfo(request), messung)) {
             if (!authorization.isAuthorized(id, LMessung.class)) {
-                return new Response(false, 697, null);
+                return new Response(false, 699, null);
             }
         }
 
diff -r d7a4f3af9e45 -r a6383faca90e src/test/java/de/intevation/lada/test/land/Status.java
--- a/src/test/java/de/intevation/lada/test/land/Status.java	Tue Dec 08 15:00:48 2015 +0100
+++ b/src/test/java/de/intevation/lada/test/land/Status.java	Tue Dec 08 15:09:16 2015 +0100
@@ -160,8 +160,8 @@
             /* Create a client*/
             Client client = ClientBuilder.newClient();
             WebTarget target =
-                client.target(baseUrl + "status?messungId=1");
-            prot.addInfo("filter", "messungId=1");
+                client.target(baseUrl + "status?messungsId=1");
+            prot.addInfo("filter", "messungsId=1");
             /* Request the objects using the filter*/
             Response response = target.request()
                 .header("X-SHIB-user", BaseTest.TEST_USER)


More information about the Lada-commits mailing list