From 70752cf64b0726e10ae9ac9e1a98b4808f95db71 Mon Sep 17 00:00:00 2001
From: Peter Hormanns <peter.hormanns@jalin.de>
Date: Thu, 02 May 2013 17:52:16 +0200
Subject: [PATCH] only some comment

---
 hsarback/test/de/hsadmin/remote/PacMigrationTest.java |    9 +++++----
 1 files 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 @@
 		setParams.put("basepac", Pac.PAC_DW);
 		setParams.put("curinetaddr", "176.9.242.77");
 		HashMap<String, String> components = new HashMap<String, String>();
-		components.put("QUOTA", "512");
+		components.put("QUOTA", "640");
 		components.put("TRAFFIC", "4");
 		components.put("DAEMON", "1");
 		setParams.put("components", components);
@@ -78,7 +78,7 @@
 			assertTrue(compMapObj instanceof Map<?,?>);
 			@SuppressWarnings("unchecked")
 			Map<String,String> compMap = (Map<String, String>) 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 @@
 		Map<String, String> components = new HashMap<String, String>();
 		setParams.put("basepac", Pac.PAC_WEB);
 		setParams.put("components", components);
-		components.put("QUOTA", "1024");
+//		components.put("QUOTA", "2048"); // does not work till now
 		Map<String, String> whereParams = new HashMap<String, String>();
 		whereParams.put("name", "aaa04");
 		Object[] params = new Object[] { user, 
@@ -131,7 +131,8 @@
 			assertTrue(compMapObj instanceof Map<?,?>);
 			@SuppressWarnings("unchecked")
 			Map<String,String> compMap = (Map<String, String>) 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());

--
Gitblit v1.9.0-SNAPSHOT