From dd015c1a2f4ae9a2133445bf9f9b725f305ed45c Mon Sep 17 00:00:00 2001 From: Peter Hormanns Date: Thu, 5 Apr 2012 16:29:41 +0000 Subject: [PATCH] Test repariert --- hsarback/test/de/hsadmin/remote/DomainTest.java | 2 +- hsarback/test/de/hsadmin/remote/EMailAddressTest.java | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/hsarback/test/de/hsadmin/remote/DomainTest.java b/hsarback/test/de/hsadmin/remote/DomainTest.java index bf9c462..eaa2b97 100644 --- a/hsarback/test/de/hsadmin/remote/DomainTest.java +++ b/hsarback/test/de/hsadmin/remote/DomainTest.java @@ -49,7 +49,7 @@ public class DomainTest { for (Object o : result) { if (o instanceof Map) { Map row = (Map) o; - assertEquals("aaa00", row.get("user")); +// assertEquals("aaa00", row.get("user")); assertTrue("aaa00".equals(row.get("user")) || "aaa00-admin".equals(row.get("user"))); } else { fail("map expected"); diff --git a/hsarback/test/de/hsadmin/remote/EMailAddressTest.java b/hsarback/test/de/hsadmin/remote/EMailAddressTest.java index a8cd81f..b22577b 100644 --- a/hsarback/test/de/hsadmin/remote/EMailAddressTest.java +++ b/hsarback/test/de/hsadmin/remote/EMailAddressTest.java @@ -157,8 +157,8 @@ public class EMailAddressTest { String grantingTicketURL = cas.getGrantingTicketURL(user); Map setParams = new HashMap(); setParams.put("localpart", "f6n"); - setParams.put("domain", "example01.org"); - setParams.put("target", "aaa01"); + setParams.put("domain", "example02.org"); + setParams.put("target", "aaa00"); Object[] params = new Object[] { user, cas.getServiceTicket(grantingTicketURL, RemoteTestHelper.getBackendURL()), setParams };