From f638259ae1d70bf1aee85e90bab8fb07c5695b2c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Nowak?= <luke@nexedi.com> Date: Fri, 3 Feb 2012 11:28:52 +0100 Subject: [PATCH] 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. --- .../bt5/vifib_erp5/TestTemplateItem/testVifibPersonSecurity.py | 2 ++ master/bt5/vifib_erp5/bt/revision | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/master/bt5/vifib_erp5/TestTemplateItem/testVifibPersonSecurity.py b/master/bt5/vifib_erp5/TestTemplateItem/testVifibPersonSecurity.py index 82260c5b1..0265fd6bb 100644 --- a/master/bt5/vifib_erp5/TestTemplateItem/testVifibPersonSecurity.py +++ b/master/bt5/vifib_erp5/TestTemplateItem/testVifibPersonSecurity.py @@ -67,6 +67,8 @@ class TestVifibPersonSecurity(testVifibMixin): first_name='Test', 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.portal_workflow.doActionFor(new_person, "validate_action") new_person.portal_workflow.doActionFor(new_person, "invalidate_action") diff --git a/master/bt5/vifib_erp5/bt/revision b/master/bt5/vifib_erp5/bt/revision index f64b48379..fc72547e3 100644 --- a/master/bt5/vifib_erp5/bt/revision +++ b/master/bt5/vifib_erp5/bt/revision @@ -1 +1 @@ -343 \ No newline at end of file +344 \ No newline at end of file -- 2.30.9