Commit 9ca211a2 authored by Romain Courteaud's avatar Romain Courteaud

slapos_cloud: test: create a bank account source payment on the trade condition

parent 8db73384
......@@ -179,7 +179,7 @@ class SlapOSTestCaseMixin(testSlapOSMixin):
portal_type="Organisation",
title="test-seller-%s" % self.generateNewId()
)
seller_organisation.newContent(
seller_bank_account = seller_organisation.newContent(
portal_type="Bank Account",
title="test_bank_account_%s" % self.generateNewId()
)
......@@ -193,6 +193,7 @@ class SlapOSTestCaseMixin(testSlapOSMixin):
destination_project_value=project,
source_value=seller_organisation,
source_section_value=seller_organisation,
source_payment=seller_bank_account,
price_currency_value=currency
)
sale_trade_condition.newContent(
......
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