HSAdmin Backend Domains, E-Mail, Datenbanken
Peter Hormanns
2013-05-02 6994e2de4c1240fe7156674a875a084ab474d7f7
fix test
1 files modified
14 ■■■■ changed files
hsarback/test/de/hsadmin/remote/PacTest.java 14 ●●●● patch | view | raw | blame | history
hsarback/test/de/hsadmin/remote/PacTest.java
@@ -138,13 +138,13 @@
        Object[] params = new Object[] { user, 
                cas.getServiceTicket(grantingTicketURL, RemoteTestHelper.getBackendURL()), 
                setParams };
//        try {
//            Object execute = client.execute(MODULE + ".add", params);
//            assertTrue(execute instanceof Map<?, ?>);
//        } catch (XmlRpcException e) {
//            fail(e.getMessage());
//        }
//        assertEquals(count + 1, getPacsCount());
        try {
            Object execute = client.execute(MODULE + ".add", params);
            assertTrue(execute instanceof Map<?, ?>);
        } catch (XmlRpcException e) {
            fail(e.getMessage());
        }
        assertEquals(count + 1, getPacsCount());
        Map<String, String> whereParams = new HashMap<String, String>();
        whereParams.put("name", "aaa90");
        params = new Object[] { user,