From a9e79b5d7a12f31f5f694595110cf11c1993cbc0 Mon Sep 17 00:00:00 2001
From: Peter Hormanns <peter.hormanns@hostsharing.net>
Date: Fri, 06 May 2011 13:10:41 +0200
Subject: [PATCH] Aufruf der JUnit Tests

---
 hsarback/test/de/hsadmin/remote/UnixUserTest.java |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/hsarback/test/de/hsadmin/remote/UnixUserTest.java b/hsarback/test/de/hsadmin/remote/UnixUserTest.java
index 4ff0f30..17d4c04 100644
--- a/hsarback/test/de/hsadmin/remote/UnixUserTest.java
+++ b/hsarback/test/de/hsadmin/remote/UnixUserTest.java
@@ -64,7 +64,7 @@
 			String user = "aaa00";
 			String grantingTicketURL = cas.getGrantingTicketURL(user);
 			Map<String, String> setParams = new HashMap<String, String>();
-			setParams.put("name", "aaa00-test2");
+			setParams.put("name", "aaa00-test3");
 			setParams.put("password", "test123");
 			setParams.put("quota", "128");
 			setParams.put("quotalimit", "192");
@@ -74,7 +74,7 @@
 			Object execute = client.execute(MODULE + ".add", params);
 			if (execute instanceof Map<?, ?>) {
 				Map<?, ?> entry = (Map<?, ?>) execute;
-				assertEquals("aaa00-test2", entry.get("name"));
+				assertEquals("aaa00-test3", entry.get("name"));
 				assertEquals("aaa00", entry.get("pac"));
 				assertEquals(null, entry.get("password"));
 			} else {
@@ -93,7 +93,7 @@
 			String user = "aaa00";
 			String grantingTicketURL = cas.getGrantingTicketURL(user);
 			Map<String, String> setParams = new HashMap<String, String>();
-			setParams.put("name", "peh01-testfail");
+			setParams.put("name", "aaa01-testfail");
 			setParams.put("password", "test123");
 			Object[] params = new Object[] { user, 
 					cas.getServiceTicket(grantingTicketURL, RemoteTestHelper.getBackendURL()), 
@@ -148,7 +148,7 @@
 					if (o instanceof Map<?, ?>) {
 						Map<?, ?> entry = (Map<?, ?>) o;
 						assertNull(entry.get("password"));
-						assertEquals("aaa00-test2", entry.get("name"));
+						assertEquals("aaa00-test3", entry.get("name"));
 					} else {
 						fail("map expected");
 					}

--
Gitblit v1.9.0-SNAPSHOT