diff --git a/tests/test_account_payment_sepa.py b/tests/test_account_payment_sepa.py index c8d05961fd..8f481c274f 100644 --- a/tests/test_account_payment_sepa.py +++ b/tests/test_account_payment_sepa.py @@ -74,10 +74,11 @@ class AccountPaymentSepaTestCase(unittest.TestCase): 'type': 'iban', 'number': 'ES3600000000050000000001', }])]}]) + customer_account_number, = customer_account.numbers self.mandate.create([{ 'company': company, 'party': customer, - 'account_number': customer_account, + 'account_number': customer_account_number, 'identification': 'MANDATE', 'type': 'recurrent', 'signature_date': self.date.today(),