HSAdmin Backend Domains, E-Mail, Datenbanken
Peter Hormanns
2013-01-21 c109b20bc416560759df76afd75d4972632c6a2c
extend test with given pac-components
1 files modified
9 ■■■■ changed files
hsarback/test/de/hsadmin/remote/PacTest.java 9 ●●●● patch | view | raw | blame | history
hsarback/test/de/hsadmin/remote/PacTest.java
@@ -88,12 +88,17 @@
        int count = getPacsCount();
        String user = "ad";
        String grantingTicketURL = cas.getGrantingTicketURL(user);
        Map<String, String> setParams = new HashMap<String, String>();
        Map<String, Object> setParams = new HashMap<String, Object>();
        setParams.put("name", "aaa01");
        setParams.put("hive", "h99");
        setParams.put("customer", config.getProperty("accountprefix.customer") + "-aaa");
        setParams.put("basepac", "DW/B");
        setParams.put("curinetaddr", "176.9.242.76");
        HashMap<String, String> components = new HashMap<String, String>();
        components.put("QUOTA", "512");
        components.put("TRAFFIC", "8");
        components.put("TOMCAT", "1");
        setParams.put("components", components);
        Object[] params = new Object[] { user, 
                cas.getServiceTicket(grantingTicketURL, RemoteTestHelper.getBackendURL()), 
                setParams };
@@ -104,7 +109,7 @@
            fail(e.getMessage());
        }
        assertEquals(count + 1, getPacsCount());
        setParams = new HashMap<String, String>();
        setParams = new HashMap<String, Object>();
        Map<String, String> whereParams = new HashMap<String, String>();
        setParams.put("password", "test123");
        whereParams.put("name", "aaa01");