Test repariert

This commit is contained in:
Peter Hormanns 2012-04-05 16:29:41 +00:00
parent 8e736f73b2
commit dd015c1a2f
2 changed files with 3 additions and 3 deletions

View File

@ -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");

View File

@ -157,8 +157,8 @@ public class EMailAddressTest {
String grantingTicketURL = cas.getGrantingTicketURL(user);
Map<String, String> setParams = new HashMap<String, String>();
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 };