Before this commit, tokens were prefixed with usually 12 X’s. To improve readability, modernity and to shorten the length, this commit changes token prefixes to a standard of •••• 1111. task-2832669 closes odoo/odoo#94978 Related: odoo/upgrade#3738 Related: odoo/enterprise#29190 Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
19 lines
537 B
Python
19 lines
537 B
Python
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
|
|
|
from odoo.addons.payment.tests.common import PaymentCommon
|
|
|
|
|
|
class PaymentTestCommon(PaymentCommon):
|
|
|
|
@classmethod
|
|
def setUpClass(cls, chart_template_ref=None):
|
|
super().setUpClass(chart_template_ref=chart_template_ref)
|
|
|
|
cls.acquirer = cls._prepare_acquirer(provider='test')
|
|
|
|
cls.notification_data = {
|
|
'reference': cls.reference,
|
|
'payment_details': '1234',
|
|
'simulated_state': 'done',
|
|
}
|