fix error in typecast
This commit is contained in:
parent
93a4c560ab
commit
6f5a91a3c0
@ -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<String, ?>) result[0]).get("domainsoptions")).size();
|
||||
} catch (XmlRpcException e) {
|
||||
fail(e.getMessage());
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user