diff options
| author | Pierre Masereel <pim@odoo.com> | 2019-01-10 09:11:47 +0000 |
|---|---|---|
| committer | Pierre Masereel <pim@odoo.com> | 2019-01-10 23:47:57 +0000 |
| commit | 132717c7b17f0e018b5e565646fa842e6227a079 (patch) | |
| tree | f56b15f9f332de25b87a9a13f87ffac0878f09c2 /addons/web/static/src/js/views/basic/basic_controller.js | |
| parent | 5f724892e7a7b0f43802bf215bf9c96d4e1030f5 (diff) | |
[FIX] payment_*: tests
PAYPAL
------
The paypal tests are not working working for two reasons:
- we check that there is no date in pending state on payment
transaction, but since the refactoring in this commit: https://github.com/odoo/odoo/commit/01216345e28374b554bfe95df82d607c591271cf
the date is always set before the validation of transaction.
- Since the changes on dates, the datetime field doesn't return a string
anymore and the comparison fails. So we convert the datetime to string
for the comparison.
BUCKAROO
--------
The buckaroo tests were not working for multiple reasons.
STRIPE
------
The payment stripe tests were not working because:
- The reference set in transactions were not the same as the ones givent
to the payment provider.
- we were checking for a script tag in form that has been removed in
commit https://github.com/odoo/odoo/commit/7c639be4aadce20bf6662ab347470fadf9afd99f
AUTHORIZE
---------
This test cannot be tested on runbot due to its server to server way of
working
closes odoo/odoo#30105
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions
