test assures member.sharessigned is updateable

This commit is contained in:
peter 2013-05-08 19:56:28 +02:00
parent 69d8aa71a7
commit fe992459ee

View File

@ -181,6 +181,24 @@ public class CustomerTest {
}
}
@Test
public void testUpdateAsHostmasterSharesSigned() {
String user = "ad";
String grantingTicketURL = cas.getGrantingTicketURL(user);
Map<String, String> whereParams = new HashMap<String, String>();
Map<String, String> setParams = new HashMap<String, String>();
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";