...
Code Block | ||||
---|---|---|---|---|
| ||||
@Test(enabled = true)
@Parameters({ "appId", "appSecret","space2Id", "profileId" })
public void removeMembersToSpace(String appId, String appSecret, String space2Id, String profileId) throws WWException, UnsupportedEncodingException {
WWClient client = WWClient.buildClientApplicationAccess(appId, appSecret, new WWAuthenticationEndpoint());
client.authenticate();
List<String> members = new ArrayList<String>();
members.add(profileId);
List<String> ids = client.removeSpaceMembers(space2Id, members);
assert ids.size() == 1;
} |
...