test assures member.sharessigned is updateable
This commit is contained in:
parent
69d8aa71a7
commit
fe992459ee
@ -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
|
@Test
|
||||||
public void testDeleteAsMember() {
|
public void testDeleteAsMember() {
|
||||||
String user = "hsh00-aaa";
|
String user = "hsh00-aaa";
|
||||||
|
Loading…
Reference in New Issue
Block a user