changeset 818:a6383faca90e statusworkflow

Fix typos
author Tom Gottfried <tom@intevation.de>
date Tue, 08 Dec 2015 15:09:16 +0100
parents d7a4f3af9e45
children cb6598eaa93a
files src/main/java/de/intevation/lada/rest/StatusService.java src/test/java/de/intevation/lada/test/land/Status.java
diffstat 2 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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);
             }
         }
 
--- 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)
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)