[FIX] payment: do not rely on the Wire Transfer acquirer for tests

task-2853489

Part-of: odoo/odoo#99400
This commit is contained in:
Victor Feyens
2022-09-06 12:01:37 +02:00
parent b96ca959ba
commit 852c2a13ed
+1
View File
@@ -283,6 +283,7 @@ class TestFlows(PaymentHttpCommon):
# Pay for this invoice (no impact even if amounts do not match)
route_values = self._prepare_pay_values()
route_values['invoice_id'] = self.invoice.id
route_values['company_id'] = self.company.id
tx_context = self._get_tx_checkout_context(**route_values)
self.assertEqual(tx_context['invoice_id'], self.invoice.id)