Commit d5bc9c58 authored by Romain Courteaud's avatar Romain Courteaud

slapos_erp5: testSlapOSERP5VirtualMasterScenario: define bank account

parent 86cd5e1d
......@@ -1081,6 +1081,9 @@ class TestSlapOSVirtualMasterScenario(DefaultScenarioMixin):
organisation = self.portal.organisation_module.newContent(
portal_type="Organisation"
)
bank_account = organisation.newContent(
portal_type="Bank Account"
)
sale_trade_condition = project.getSpecialiseValue()
......@@ -1103,6 +1106,7 @@ class TestSlapOSVirtualMasterScenario(DefaultScenarioMixin):
destination_project_value=project,
source_value=organisation,
source_section_value=organisation,
source_payment_value=bank_account,
destination_value=person,
destination_section_value=person,
destination_decision_value=person,
......@@ -1187,6 +1191,9 @@ class TestSlapOSVirtualMasterScenario(DefaultScenarioMixin):
organisation = self.portal.organisation_module.newContent(
portal_type="Organisation"
)
bank_account = organisation.newContent(
portal_type="Bank Account"
)
sale_trade_condition = project.getSpecialiseValue()
......@@ -1226,6 +1233,7 @@ class TestSlapOSVirtualMasterScenario(DefaultScenarioMixin):
destination_project_value=project,
source_value=organisation,
source_section_value=organisation,
source_payment_value=bank_account,
destination_value=person,
destination_section_value=person,
destination_decision_value=person,
......
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