From 25d365ee69c60e9a1778c1ff036b014398a1dbad Mon Sep 17 00:00:00 2001 From: Denis Ledoux Date: Thu, 2 Jul 2015 18:00:01 +0200 Subject: [PATCH] [FIX] payment_authorize: adapt test for rev. 3375ff2827d10df8059bac0e599061086769e8f4 Besides, the test was particularly useful: It tested that when 'Buyer' was sent as firstname and 'Nobert' as lastname to Authorize, authorize returned the opposite, 'Norbert' as firstname and 'Buyer' as last name. --- addons/payment_authorize/tests/test_authorize.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/payment_authorize/tests/test_authorize.py b/addons/payment_authorize/tests/test_authorize.py index f49aefaee40..eda6c4d3a5c 100644 --- a/addons/payment_authorize/tests/test_authorize.py +++ b/addons/payment_authorize/tests/test_authorize.py @@ -62,8 +62,8 @@ class AuthorizeForm(AuthorizeCommon): 'return_url': None, 'x_currency_code': 'USD', 'x_invoice_num': 'SO004', - 'x_first_name': 'Buyer', - 'x_last_name': 'Norbert', + 'x_first_name': 'Norbert', + 'x_last_name': 'Buyer', 'x_address': 'Huge Street 2/543', 'x_city': 'Sin City', 'x_zip': '1000',