Commit 01ed2856 authored by Aurel's avatar Aurel

fix workflow call to follow last spec


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@16269 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent bbc450cc
...@@ -74,11 +74,11 @@ class TestERP5BankingCheckbookUsualCashTransferMixin( ...@@ -74,11 +74,11 @@ class TestERP5BankingCheckbookUsualCashTransferMixin(
destination_trade_value=self.bank_account_2, destination_trade_value=self.bank_account_2,
aggregate_value=self.check_1, aggregate_value=self.check_1,
) )
self.workflow_tool.doActionFor(self.checkbook_vault_transfer, 'plan_action',
wf_id='checkbook_vault_transfer_workflow')
self.workflow_tool.doActionFor(self.checkbook_vault_transfer, 'order_action', self.workflow_tool.doActionFor(self.checkbook_vault_transfer, 'order_action',
wf_id='checkbook_vault_transfer_workflow') wf_id='checkbook_vault_transfer_workflow')
self.workflow_tool.doActionFor(self.checkbook_vault_transfer, 'order_to_deliver_action', self.workflow_tool.doActionFor(self.checkbook_vault_transfer, 'confirm_action',
wf_id='checkbook_vault_transfer_workflow')
self.workflow_tool.doActionFor(self.checkbook_vault_transfer, 'deliver_action',
wf_id='checkbook_vault_transfer_workflow') wf_id='checkbook_vault_transfer_workflow')
def createCheckbookVaultTransferWithTravelerCheck(self, sequence=None, def createCheckbookVaultTransferWithTravelerCheck(self, sequence=None,
...@@ -100,11 +100,11 @@ class TestERP5BankingCheckbookUsualCashTransferMixin( ...@@ -100,11 +100,11 @@ class TestERP5BankingCheckbookUsualCashTransferMixin(
aggregate_value=self.traveler_check, aggregate_value=self.traveler_check,
price_currency_value=self.currency_2 price_currency_value=self.currency_2
) )
self.workflow_tool.doActionFor(self.checkbook_vault_transfer, 'plan_action',
wf_id='checkbook_vault_transfer_workflow')
self.workflow_tool.doActionFor(self.checkbook_vault_transfer, 'order_action', self.workflow_tool.doActionFor(self.checkbook_vault_transfer, 'order_action',
wf_id='checkbook_vault_transfer_workflow') wf_id='checkbook_vault_transfer_workflow')
self.workflow_tool.doActionFor(self.checkbook_vault_transfer, 'order_to_deliver_action', self.workflow_tool.doActionFor(self.checkbook_vault_transfer, 'confirm_action',
wf_id='checkbook_vault_transfer_workflow')
self.workflow_tool.doActionFor(self.checkbook_vault_transfer, 'deliver_action',
wf_id='checkbook_vault_transfer_workflow') wf_id='checkbook_vault_transfer_workflow')
class TestERP5BankingCheckbookUsualCashTransfer(TestERP5BankingCheckbookUsualCashTransferMixin, class TestERP5BankingCheckbookUsualCashTransfer(TestERP5BankingCheckbookUsualCashTransferMixin,
......
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