mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-14 17:58:59 +00:00
Fix for ALF-10330 - PersonServiceTest.testCreatePersonMissingLastName
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30528 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -288,19 +288,4 @@ public class PersonServiceTest extends BaseWebScriptTest
|
|||||||
"myJobTitle", "firstName.lastName@email.com", "myBio", "images/avatar.jpg",
|
"myJobTitle", "firstName.lastName@email.com", "myBio", "images/avatar.jpg",
|
||||||
Status.STATUS_BAD_REQUEST);
|
Status.STATUS_BAD_REQUEST);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void DISABLED_testCreatePersonMissingLastName() throws Exception
|
|
||||||
{
|
|
||||||
String userName = RandomStringUtils.randomNumeric(6);
|
|
||||||
|
|
||||||
// Create a new person with lastName == null (last name is missing)
|
|
||||||
createPerson(userName, "myTitle", "myFirstName", null, "myOrganisation",
|
|
||||||
"myJobTitle", "firstName.lastName@email.com", "myBio", "images/avatar.jpg",
|
|
||||||
Status.STATUS_BAD_REQUEST);
|
|
||||||
|
|
||||||
// Create a new person with lastName == "" (last name is blank)
|
|
||||||
createPerson(userName, "myTitle", "myFirstName", "", "myOrganisation",
|
|
||||||
"myJobTitle", "firstName.lastName@email.com", "myBio", "images/avatar.jpg",
|
|
||||||
Status.STATUS_BAD_REQUEST);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user