Commit c979ebf2 authored by Aurel's avatar Aurel

open counter/accounting date

use reject instead of cancel


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@15006 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 98f9f9de
......@@ -148,7 +148,9 @@ class TestERP5BankingCheckDeposit(TestERP5BankingMixin, ERP5TypeTestCase):
reference='CHKNB1',
resource_value=self.check_model,
checkbook=self.checkbook_1)
self.openCounterDate(site=self.testsite.paris)
self.openAccountingDate(site=self.testsite.paris)
def stepLogout(self, sequence=None, sequence_list=None, **kwd):
self.logout()
......@@ -274,8 +276,8 @@ class TestERP5BankingCheckDeposit(TestERP5BankingMixin, ERP5TypeTestCase):
"""
Cancel the check deposit
"""
self.workflow_tool.doActionFor(self.check_deposit, 'cancel_action', wf_id='check_deposit_workflow')
self.assertEqual(self.check_deposit.getSimulationState(), 'cancelled')
self.workflow_tool.doActionFor(self.check_deposit, 'reject_action', wf_id='check_deposit_workflow')
self.assertEqual(self.check_deposit.getSimulationState(), 'draft')
def stepCheckBankAccountInventoryAfterCheckDepositDelivered(self, sequence=None, sequence_list=None, **kw):
"""
......
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