summaryrefslogtreecommitdiff
path: root/addons/payment_authorize/tests
diff options
context:
space:
mode:
authorDamien Bouvy <dbo@odoo.com>2015-09-04 15:57:07 +0200
committerDamien Bouvy <dbo@odoo.com>2015-09-04 16:08:22 +0200
commit526f27ddac8b6d69f3dbbd91e7a83ab9c76c0a5a (patch)
tree3eccb217ff97c6fbca90e9f4f446c2fd3de888b9 /addons/payment_authorize/tests
parentf76c78d598307e337db19cc89688c57b84480cda (diff)
[IMP] payment,payment_*,website_quote,website_sale: new rendering mechanism compatibility for payment providers
merge *ALL* the dicts The form rendering used to receive a dict for partner information and a dict for tx information and to transmit another dict to the qweb template; now everything is done in a single dict
Diffstat (limited to 'addons/payment_authorize/tests')
-rw-r--r--addons/payment_authorize/tests/test_authorize.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/payment_authorize/tests/test_authorize.py b/addons/payment_authorize/tests/test_authorize.py
index f038016d579..ed71213fc0c 100644
--- a/addons/payment_authorize/tests/test_authorize.py
+++ b/addons/payment_authorize/tests/test_authorize.py
@@ -78,7 +78,7 @@ class AuthorizeForm(AuthorizeCommon):
cr, uid, context = self.env.cr, self.env.uid, {}
res = self.payment_acquirer.render(
cr, uid, self.authorize_id, 'SO004', 320.0, self.currency_usd.id,
- partner_id=None, partner_values=self.buyer_values, context=context)
+ values=self.buyer_values, context=context)
# check form result
tree = objectify.fromstring(res)
self.assertEqual(tree.get('action'), 'https://test.authorize.net/gateway/transact.dll', 'Authorize: wrong form POST url')