From 6f5a91a3c01e3215aa1cd62574c02f501c4d9728 Mon Sep 17 00:00:00 2001 From: Peter Hormanns Date: Wed, 18 Jul 2012 12:31:15 +0000 Subject: [PATCH] fix error in typecast --- hsarback/test/de/hsadmin/remote/DomainTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()); }