Commit 7684152a authored by Łukasz Nowak's avatar Łukasz Nowak

Last name is not required anymore.

Since 830e432a only email address is required.
parent 72b81a61
......@@ -304,16 +304,6 @@ class TestVifibPersonConstraint(testVifibMixin):
def getTitle(self):
return "Vifib Person Constraint checks"
def test_last_name_existence(self):
person = self.portal.person_module.newContent(portal_type='Person')
consistency_message = 'Property last_name must be defined'
self.assertTrue(consistency_message in getMessageList(person))
person.setLastName(rndstr())
self.assertFalse(consistency_message in getMessageList(person))
def test_role(self):
person = self.portal.person_module.newContent(portal_type='Person')
consistency_message = 'One role should be defined'
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment