Commit 0b9539b9 authored by Łukasz Nowak's avatar Łukasz Nowak

No need to unlock person.

Functionality dropped.
parent b0bdee9b
...@@ -211,8 +211,6 @@ class testVifibMixin(ERP5TypeTestCase): ...@@ -211,8 +211,6 @@ class testVifibMixin(ERP5TypeTestCase):
person = person.getObject() person = person.getObject()
if isTransitionPossible(person, 'validate'): if isTransitionPossible(person, 'validate'):
person.validate() person.validate()
if isTransitionPossible(person, 'unlock'):
person.unlock()
for assignment in person.contentValues(portal_type='Assignment'): for assignment in person.contentValues(portal_type='Assignment'):
if isTransitionPossible(assignment, 'open'): if isTransitionPossible(assignment, 'open'):
assignment.open() assignment.open()
......
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