Commit 820928b6 authored by Mohamadou Mbengue's avatar Mohamadou Mbengue

change accept and complete action name

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@36996 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent d193ed01
......@@ -353,12 +353,12 @@ class TestEgov(ERP5TypeTestCase):
vat_declaration.PDFDocument_getApplicationIncomeDict()
vat_declaration.PDFDocument_getReportSectionList()
vat_declaration.PDFDocument_viewHistory()
self.portal.portal_workflow.doActionFor(vat_declaration, 'accept_action')
self.assertEquals('accepted', vat_declaration.getValidationState())
self.portal.portal_workflow.doActionFor(vat_declaration, 'receive_action')
self.assertEquals('receivable', vat_declaration.getValidationState())
self.assertEquals(vat_declaration.getTypeInfo().getStepReviewRequest(),None)
self.portal.portal_workflow.doActionFor(vat_declaration, 'assign_action')
self.assertEquals('assigned', vat_declaration.getValidationState())
self.portal.portal_workflow.doActionFor(vat_declaration, 'complet_action')
self.portal.portal_workflow.doActionFor(vat_declaration, 'complete_action')
self.assertEquals('completed', vat_declaration.getValidationState())
......
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