diff options
| author | Rémi Rahir <rar@odoo.com> | 2018-04-03 15:52:17 +0200 |
|---|---|---|
| committer | Rémi Rahir <rar@odoo.com> | 2018-04-03 15:52:17 +0200 |
| commit | c3d1eda0176b44fd3e43364427f8f00a28615c0d (patch) | |
| tree | 281c1515621def1c6c72daa35865c3e0daaec348 /addons/web/static/tests | |
| parent | 55878df5fff0e6da926e4503b13a51052a4201e0 (diff) | |
[FIX] web,account,google_calendar: chasing breaking spaces
Before this commit, some breaking spaces were present in the js code.
Such spaces are misinterpreted and worked by luck.
This has become a problem with exported js bunldes (e.g. the
external_lib bundle in im_livechat).
This commit replaces breaking spaces by regular spaces.
Diffstat (limited to 'addons/web/static/tests')
| -rw-r--r-- | addons/web/static/tests/fields/upgrade_fields_tests.js | 2 | ||||
| -rw-r--r-- | addons/web/static/tests/helpers/mock_server.js | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/addons/web/static/tests/fields/upgrade_fields_tests.js b/addons/web/static/tests/fields/upgrade_fields_tests.js index 427ec7b54e3..1cb8eff1b60 100644 --- a/addons/web/static/tests/fields/upgrade_fields_tests.js +++ b/addons/web/static/tests/fields/upgrade_fields_tests.js @@ -56,7 +56,7 @@ QUnit.module('upgrade_fields', { "the upgrade label shouldn't be inside the field section"); assert.strictEqual(form.$('.o_label .label').length, 1, "the upgrade label should be inside the label section"); - assert.strictEqual(form.$('.o_label').text(), "Bar EnterpriseCoucou", + assert.strictEqual(form.$('.o_label').text(), "Bar EnterpriseCoucou", "the upgrade label should be inside the label section"); form.destroy(); }); diff --git a/addons/web/static/tests/helpers/mock_server.js b/addons/web/static/tests/helpers/mock_server.js index b7addb7cb45..99a673e6129 100644 --- a/addons/web/static/tests/helpers/mock_server.js +++ b/addons/web/static/tests/helpers/mock_server.js @@ -792,7 +792,7 @@ var MockServer = Class.extend({ var result = this._mockSearchReadController({ model: model, domain: kwargs.domain || args[0], - fields: kwargs.fields || args[1], + fields: kwargs.fields || args[1], offset: kwargs.offset || args[2], limit: kwargs.limit || args[3], order: kwargs.order || args[4], |
