[FIX] payment_paypal: fix tests
Since changes made in this commit https://github.com/odoo/odoo/commit/fc1389f8d881adfb94ea1b784fb7104b9eee5d2d the value of field 'custom' is now set and wasn't before. closes odoo/odoo#32258 Signed-off-by: Toufik Benjaa (tbe) <tbe@odoo.com>
This commit is contained in:
@@ -67,6 +67,7 @@ class PaypalForm(PaypalCommon):
|
||||
'return': urls.url_join(base_url, PaypalController._return_url),
|
||||
'notify_url': urls.url_join(base_url, PaypalController._notify_url),
|
||||
'cancel_return': urls.url_join(base_url, PaypalController._cancel_url),
|
||||
'custom': '{"return_url": "/payment/process"}',
|
||||
}
|
||||
|
||||
# check form result
|
||||
@@ -140,7 +141,7 @@ class PaypalForm(PaypalCommon):
|
||||
'item_name': u'test_ref_2',
|
||||
'address_country': u'France',
|
||||
'charset': u'windows-1252',
|
||||
'custom': u'',
|
||||
'custom': u'{"return_url": "/payment/process"}',
|
||||
'notify_version': u'3.7',
|
||||
'address_name': u'Norbert Poilu',
|
||||
'pending_reason': u'multi_currency',
|
||||
|
||||
Reference in New Issue
Block a user