From 6f5a91a3c01e3215aa1cd62574c02f501c4d9728 Mon Sep 17 00:00:00 2001
From: Peter Hormanns <peter.hormanns@hostsharing.net>
Date: Wed, 18 Jul 2012 14:31:15 +0200
Subject: [PATCH] fix error in typecast

---
 hsarback/test/de/hsadmin/remote/DomainTest.java |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

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 @@
 		try {
 			Object execute = client.execute(MODULE + ".search", params);
 			Object[] result = (Object[]) execute;
-			count = ( (Domain) result[0] ).getDomainOptions().size();
+			count = ((List<?>)((Map<String, ?>) result[0]).get("domainsoptions")).size();
 		} catch (XmlRpcException e) {
 			fail(e.getMessage());
 		}

--
Gitblit v1.9.1