diff options
Diffstat (limited to 'addons/web_editor/static/tests/field_html_tests.js')
| -rw-r--r-- | addons/web_editor/static/tests/field_html_tests.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/web_editor/static/tests/field_html_tests.js b/addons/web_editor/static/tests/field_html_tests.js index 31855ef9ff7..fdecf126051 100644 --- a/addons/web_editor/static/tests/field_html_tests.js +++ b/addons/web_editor/static/tests/field_html_tests.js @@ -804,7 +804,7 @@ QUnit.test('save immediately before iframe is rendered in edit mode', async func res_id: 1, mockRPC: function (route, args) { if (route === '/web/dataset/call_button' && args.method === 'translate_fields') { - assert.deepEqual(args.args, ['note.note', 1, 'body', {}], "should call 'call_button' route"); + assert.deepEqual(args.args, ['note.note', 1, 'body'], "should call 'call_button' route"); return Promise.resolve(); } return this._super.apply(this, arguments); @@ -840,7 +840,7 @@ QUnit.test('save immediately before iframe is rendered in edit mode', async func res_id: 1, mockRPC: function (route, args) { if (route === '/web/dataset/call_button' && args.method === 'translate_fields') { - assert.deepEqual(args.args, ['note.note', 1, 'body', {}], "should call 'call_button' route"); + assert.deepEqual(args.args, ['note.note', 1, 'body'], "should call 'call_button' route"); return Promise.resolve(); } return this._super.apply(this, arguments); |
