diff options
| author | Géry Debongnie <ged@odoo.com> | 2017-10-27 11:00:39 +0200 |
|---|---|---|
| committer | Géry Debongnie <ged@odoo.com> | 2017-10-27 11:04:40 +0200 |
| commit | 416f8f6316c8021b566bdcbd5d6793235873692a (patch) | |
| tree | cb0c27ab3caa096102d2ff8a9d9cf2446204e324 /addons/web/static/tests/fields/basic_fields_tests.js | |
| parent | 4873aeb50159c1dc228380d509ca7e3d6481e632 (diff) | |
[FIX] web: mock server should add a __last_update field
A recent fix in web changed the field FieldImage to make sure it also
loads a __last_update field. This is fine, except that a test in
enterprise (web_clearbit_tests) was using a field image, and failed
because it could not find the __last_update field in the demo data.
With this commit, we make sure that the mock server is always aware of
the __last_update field.
Diffstat (limited to 'addons/web/static/tests/fields/basic_fields_tests.js')
| -rw-r--r-- | addons/web/static/tests/fields/basic_fields_tests.js | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/addons/web/static/tests/fields/basic_fields_tests.js b/addons/web/static/tests/fields/basic_fields_tests.js index 1d1eccf207d..c6feea74b77 100644 --- a/addons/web/static/tests/fields/basic_fields_tests.js +++ b/addons/web/static/tests/fields/basic_fields_tests.js @@ -1429,7 +1429,6 @@ QUnit.module('basic_fields', { QUnit.test('image fields are correctly rendered', function (assert) { assert.expect(6); - this.data.partner.fields.__last_update = {string: "Last updated", type: "datetime"}; this.data.partner.records[0].__last_update = '2017-02-08 10:00:00'; this.data.partner.records[0].document = 'myimage'; |
