Skip to content

Commit

Permalink
[FIX] partner_restrict_payment_acquirer: Tests changed.
Browse files Browse the repository at this point in the history
  • Loading branch information
geomer198 committed Jun 13, 2023
1 parent cde170e commit 7e54c0a
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@ def test_get_allowed_acquirers_order(self):
{"allowed_acquirer_ids": [(4, self.wire_transfer.id)]}
)
customer_acquirers = self.res_partner_gemini.allowed_acquirer_ids
self.assertEqual(
customer_acquirers,
self.assertIn(
self.wire_transfer,
customer_acquirers,
msg="Customer acquirers must be contain 'Wire Transfer'",
)
acquirers = payment_acquirer_obj.get_allowed_acquirers(
Expand Down Expand Up @@ -68,9 +68,9 @@ def test_get_allowed_acquirers_invoice(self):
{"allowed_acquirer_ids": [(4, self.wire_transfer.id)]}
)
customer_acquirers = self.res_partner_deco.allowed_acquirer_ids
self.assertEqual(
customer_acquirers,
self.assertIn(
self.wire_transfer,
customer_acquirers,
msg="Customer acquirers must be contain 'Wire Transfer'",
)
acquirers = payment_acquirer_obj.get_allowed_acquirers(
Expand Down

0 comments on commit 7e54c0a

Please sign in to comment.