From 820928b67d4b32b97ac827c41596bbe5fb4bf0ef Mon Sep 17 00:00:00 2001
From: Mohamadou Mbengue <mmbengue@gmail.com>
Date: Thu, 8 Jul 2010 16:20:50 +0000
Subject: [PATCH] change accept and complete action name

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@36996 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 product/ERP5/tests/testERP5eGov.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/product/ERP5/tests/testERP5eGov.py b/product/ERP5/tests/testERP5eGov.py
index 3b75506dda..26605fa33f 100644
--- a/product/ERP5/tests/testERP5eGov.py
+++ b/product/ERP5/tests/testERP5eGov.py
@@ -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())
 
 
-- 
2.30.9