mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-21 18:09:20 +00:00
Fix unit test broken by recent person webscript changes in 14663
- STATUS_CONFLICT response code now returned on an attempt to create a person that already exists git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14729 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -276,7 +276,7 @@ public class PersonServiceTest extends BaseWebScriptTest
|
||||
|
||||
// Check for duplicate names
|
||||
createPerson(userName, "myTitle", "myFirstName", "mylastName", "myOrganisation",
|
||||
"myJobTitle", "myEmail", "myBio", "images/avatar.jpg", 500);
|
||||
"myJobTitle", "myEmail", "myBio", "images/avatar.jpg", 409);
|
||||
}
|
||||
|
||||
public void testCreatePersonMissingUserName() throws Exception
|
||||
|
Reference in New Issue
Block a user