Commit f638259a authored by Łukasz Nowak's avatar Łukasz Nowak

Tic to have open order created and indexed.

validate_action calls check consistency, which asserts existence of open order,
and as it uses catalog related key, such one have to be indexed correctly.
parent 79aedf3a
...@@ -67,6 +67,8 @@ class TestVifibPersonSecurity(testVifibMixin): ...@@ -67,6 +67,8 @@ class TestVifibPersonSecurity(testVifibMixin):
first_name='Test', first_name='Test',
last_name='Invalidated Vifib User', last_name='Invalidated Vifib User',
) )
# tic to have open order created and indexed
self.stepTic()
new_person.edit(career_role='client', default_email_text="test@example.com") new_person.edit(career_role='client', default_email_text="test@example.com")
new_person.portal_workflow.doActionFor(new_person, "validate_action") new_person.portal_workflow.doActionFor(new_person, "validate_action")
new_person.portal_workflow.doActionFor(new_person, "invalidate_action") new_person.portal_workflow.doActionFor(new_person, "invalidate_action")
......
343 344
\ No newline at end of file \ No newline at end of file
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