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:
Dave Ward
2009-06-16 09:49:10 +00:00
parent 9465966ed7
commit 2709bd79e6

View File

@@ -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