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:
Kevin Roast
2011-09-15 08:50:43 +00:00
parent 43edd96105
commit daacea147b

View File

@@ -287,20 +287,5 @@ public class PersonServiceTest extends BaseWebScriptTest
createPerson(userName, "myTitle", "", "myLastName", "myOrganisation",
"myJobTitle", "firstName.lastName@email.com", "myBio", "images/avatar.jpg",
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);
}
}
}