Commit 639bff25 authored by Romain Courteaud's avatar Romain Courteaud

slapos_erp5: drop template_member

parent 59f66365
...@@ -24,8 +24,8 @@ class TestSlapOSLocalPermissionSlapOSInteractionWorkflow( ...@@ -24,8 +24,8 @@ class TestSlapOSLocalPermissionSlapOSInteractionWorkflow(
TestSlapOSGroupRoleSecurityMixin): TestSlapOSGroupRoleSecurityMixin):
def _makePerson(self): def _makePerson(self):
new_id = self.generateNewId() new_id = self.generateNewId()
self.person_user = self.portal.person_module.template_member.\ self.person_user = self.portal.person_module\
Base_createCloneDocument(batch_mode=1) .newContent(portal_type="Person")
self.person_user.edit( self.person_user.edit(
title="live_test_%s" % new_id, title="live_test_%s" % new_id,
reference="live_test_%s" % new_id, reference="live_test_%s" % new_id,
......
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