fix customer update: update shares signed

This commit is contained in:
Peter Hormanns 2013-05-09 16:22:41 +02:00
parent 58f7c0be13
commit 855ab2551a
2 changed files with 2 additions and 2 deletions

View File

@ -124,7 +124,7 @@ public class CustomerRemote extends AbstractRemote {
}
String sharesSigned = (String) setParams.get("sharessigned");
if (assertNotNull(sharesSigned)) {
cust.setId(Integer.parseInt(sharesSigned));
cust.setSharesSigned(Integer.parseInt(sharesSigned));
}
String uidVat = (String) setParams.get("uidvat");
if (assertNotNull(uidVat)) {

View File

@ -86,7 +86,7 @@ public class CustomerTest {
try {
Object execute = client.execute(MODULE + ".search", params);
Object[] result = (Object[]) execute;
assertTrue(result.length > 90);
assertTrue(result.length > 2);
} catch (XmlRpcException e) {
fail(e.getMessage());
}