Fix wrong object set as account_number in unittest

This commit is contained in:
Cédric Krier committed 2014-03-11 12:02:24 +01:00
1 parent 253b780045
commit ba8bad83ab
1 file changed
+2 -1
+2 -1
View File
@@ -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(),