mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
The containing groups for a user can now be optionally returned via the Person REST API.
Some cleanup to Person REST API templates scripts and tests. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@13829 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -253,14 +253,7 @@ public class PersonServiceTest extends BaseWebScriptTest
|
||||
Status.STATUS_OK);
|
||||
|
||||
// Delete the person
|
||||
JSONObject result = deletePerson(userName, Status.STATUS_OK);
|
||||
|
||||
assertEquals(userName, result.get("userName"));
|
||||
assertEquals("myFirstName", result.get("firstName"));
|
||||
assertEquals("myLastName", result.get("lastName"));
|
||||
assertEquals("myOrganisation", result.get("organisation"));
|
||||
assertEquals("myJobTitle", result.get("jobtitle"));
|
||||
assertEquals("firstName.lastName@email.com", result.get("email"));
|
||||
deletePerson(userName, Status.STATUS_OK);
|
||||
|
||||
// Make sure that the person has been deleted and no longer exists
|
||||
deletePerson(userName, Status.STATUS_NOT_FOUND);
|
||||
|
Reference in New Issue
Block a user