From 70752cf64b0726e10ae9ac9e1a98b4808f95db71 Mon Sep 17 00:00:00 2001 From: Peter Hormanns Date: Thu, 2 May 2013 17:52:16 +0200 Subject: [PATCH] only some comment --- hsarback/test/de/hsadmin/remote/PacMigrationTest.java | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/hsarback/test/de/hsadmin/remote/PacMigrationTest.java b/hsarback/test/de/hsadmin/remote/PacMigrationTest.java index e9a2b5c..2c14a1f 100644 --- a/hsarback/test/de/hsadmin/remote/PacMigrationTest.java +++ b/hsarback/test/de/hsadmin/remote/PacMigrationTest.java @@ -50,7 +50,7 @@ public class PacMigrationTest { setParams.put("basepac", Pac.PAC_DW); setParams.put("curinetaddr", "176.9.242.77"); HashMap components = new HashMap(); - components.put("QUOTA", "512"); + components.put("QUOTA", "640"); components.put("TRAFFIC", "4"); components.put("DAEMON", "1"); setParams.put("components", components); @@ -78,7 +78,7 @@ public class PacMigrationTest { assertTrue(compMapObj instanceof Map); @SuppressWarnings("unchecked") Map compMap = (Map) compMapObj; - assertEquals("512", compMap.get("QUOTA")); + assertEquals("640", compMap.get("QUOTA")); assertEquals("4", compMap.get("TRAFFIC")); } catch (XmlRpcException e) { fail(e.getMessage()); @@ -106,7 +106,7 @@ public class PacMigrationTest { Map components = new HashMap(); setParams.put("basepac", Pac.PAC_WEB); setParams.put("components", components); - components.put("QUOTA", "1024"); +// components.put("QUOTA", "2048"); // does not work till now Map whereParams = new HashMap(); whereParams.put("name", "aaa04"); Object[] params = new Object[] { user, @@ -131,7 +131,8 @@ public class PacMigrationTest { assertTrue(compMapObj instanceof Map); @SuppressWarnings("unchecked") Map compMap = (Map) compMapObj; - assertEquals("512", compMap.get("QUOTA")); + assertEquals("1024", compMap.get("QUOTA")); +// assertEquals("2048", compMap.get("QUOTA")); // does not work till now assertEquals("5", compMap.get("TRAFFIC")); } catch (XmlRpcException e) { fail(e.getMessage());