diff --git a/hsarback/test/de/hsadmin/remote/DomainTest.java b/hsarback/test/de/hsadmin/remote/DomainTest.java index b871d1c..b1ddea0 100644 --- a/hsarback/test/de/hsadmin/remote/DomainTest.java +++ b/hsarback/test/de/hsadmin/remote/DomainTest.java @@ -223,7 +223,7 @@ public class DomainTest { try { Object execute = client.execute(MODULE + ".search", params); Object[] result = (Object[]) execute; - count = ( (Domain) result[0] ).getDomainOptions().size(); + count = ((List)((Map) result[0]).get("domainsoptions")).size(); } catch (XmlRpcException e) { fail(e.getMessage()); }