diff options
| author | Dharmraj Jhala <dja@odoo.com> | 2020-07-08 09:04:24 +0000 |
|---|---|---|
| committer | Thibault Delavallée <tde@odoo.com> | 2020-07-27 08:04:10 +0000 |
| commit | 297c3d83785453b6a273af324a955d9d038e989d (patch) | |
| tree | 6029cd901a0266cb93e79d2c5336eadc6fece46e /addons/web/static/src/js/views/basic/basic_controller.js | |
| parent | c5d98aeccbdda566f3559b6c02b4bed2d0c58b21 (diff) | |
[IMP] mass_mailing_sms: improve shortened URL detection in tests
Before this commit, in gateway tools, we used to consider URL as a
shortened which was having `/r` in it. However this is not true in
all cases. Any random URL can have `/r` in it but it might not be
a shortened one. It caused random failures on runbot time to time.
This commit makes a bit precise search (`/r/`) to consider URL as
a shortened one and thus avoiding those random test failures on the
runbot.
TaskID - 2276386
closes odoo/odoo#54944
X-original-commit: b8045b49d0693292e6240dfb3acd7c9a6450ad77
Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions
