HSAdmin Backend Domains, E-Mail, Datenbanken
Peter Hormanns
2012-07-18 439389ea2800bbdd96a81ce73a52e40a41d48af3
fix DomainTest
1 files modified
6 ■■■■■ changed files
hsarback/test/de/hsadmin/remote/DomainTest.java 6 ●●●●● patch | view | raw | blame | history
hsarback/test/de/hsadmin/remote/DomainTest.java
@@ -168,7 +168,7 @@
        try {
            Object execute = client.execute(MODULE + ".update", params);
            assertNotNull(execute);
            assertEquals(getDomOptionsCount(),1);
            assertEquals(getDomOptionsCount(), 1);
        } catch (XmlRpcException e) {
            fail(e.getMessage());
        }
@@ -253,7 +253,9 @@
            Map<String, ?> domainMap = (Map<String, ?>) result[0];
            assertNotNull(domainMap);
            List<?> optsList = (List<?>)domainMap.get("domainsoptions");
            assertNotNull(optsList);
            if (optsList == null) {
                count = 0;
            }
            count = optsList.size();
        } catch (XmlRpcException e) {
            fail(e.getMessage());