diff --git a/hsarback/test/de/hsadmin/remote/CustomerTest.java b/hsarback/test/de/hsadmin/remote/CustomerTest.java index 20cd368..1052b41 100644 --- a/hsarback/test/de/hsadmin/remote/CustomerTest.java +++ b/hsarback/test/de/hsadmin/remote/CustomerTest.java @@ -181,6 +181,24 @@ public class CustomerTest { } } + @Test + public void testUpdateAsHostmasterSharesSigned() { + String user = "ad"; + String grantingTicketURL = cas.getGrantingTicketURL(user); + Map whereParams = new HashMap(); + Map setParams = new HashMap(); + whereParams.put("membercode", "hsh00-aaa"); + setParams.put("sharessigned", "1"); + Object[] params = new Object[] { user, + cas.getServiceTicket(grantingTicketURL, RemoteTestHelper.getBackendURL()), + setParams, whereParams }; + try { + client.execute(MODULE + ".update", params); + } catch (XmlRpcException e) { + fail(e.getMessage()); + } + } + @Test public void testDeleteAsMember() { String user = "hsh00-aaa";