HSAdmin Backend Domains, E-Mail, Datenbanken
Peter Hormanns
2012-07-18 aaa278a84981456ba75ec55112f2c1fcc800b5b8
dont change dom-admin
1 files modified
7 ■■■■■ changed files
hsarback/test/de/hsadmin/remote/DomainTest.java 7 ●●●●● patch | view | raw | blame | history
hsarback/test/de/hsadmin/remote/DomainTest.java
@@ -127,7 +127,7 @@
        String grantingTicketURL = cas.getGrantingTicketURL(user);
        Map<String, Object> setParams = new HashMap<String, Object>();
        Map<String, String> whereParams = new HashMap<String, String>();
        setParams.put("user", "aaa00");
//        setParams.put("user", "aaa00");
        List<String> optionslist = new ArrayList<String>();
        optionslist.add("invalide");
        setParams.put("domainoptions", optionslist);
@@ -150,7 +150,7 @@
        String grantingTicketURL = cas.getGrantingTicketURL(user);
        Map<String, Object> setParams = new HashMap<String, Object>();
        Map<String, String> whereParams = new HashMap<String, String>();
        setParams.put("user", "aaa00");
//        setParams.put("user", "aaa00");
        List<String> optionslist = new ArrayList<String>();
        optionslist.add("graylisting");
        setParams.put("domainoptions", optionslist);
@@ -173,7 +173,7 @@
        String grantingTicketURL = cas.getGrantingTicketURL(user);
        Map<String, Object> setParams = new HashMap<String, Object>();
        Map<String, String> whereParams = new HashMap<String, String>();
        setParams.put("user", "aaa00");
//        setParams.put("user", "aaa00");
        List<String> optionslist = new ArrayList<String>();
        optionslist.add("htdocsfallback");
        optionslist.add("graylisting");
@@ -244,6 +244,7 @@
            Object execute = client.execute(MODULE + ".search", params);
            Object[] result = (Object[]) execute;
            assertEquals(result.length, 1);
            assertTrue(result[0] instanceof Map<?, ?>);
            Map<String, ?> domainMap = (Map<String, ?>) result[0];
            assertNotNull(domainMap);
            List<?> optsList = (List<?>)domainMap.get("domainsoptions");