From a9e79b5d7a12f31f5f694595110cf11c1993cbc0 Mon Sep 17 00:00:00 2001 From: Peter Hormanns Date: Fri, 6 May 2011 11:10:41 +0000 Subject: [PATCH] Aufruf der JUnit Tests --- hsarback/test/de/hsadmin/remote/UnixUserTest.java | 8 ++++---- 1 file 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 @@ public class UnixUserTest { String user = "aaa00"; String grantingTicketURL = cas.getGrantingTicketURL(user); Map setParams = new HashMap(); - 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 @@ public class UnixUserTest { 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 @@ public class UnixUserTest { String user = "aaa00"; String grantingTicketURL = cas.getGrantingTicketURL(user); Map setParams = new HashMap(); - 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 @@ public class UnixUserTest { 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"); }