diff options
| author | Christophe Simonis <chs@odoo.com> | 2019-05-07 11:42:58 +0200 |
|---|---|---|
| committer | Christophe Simonis <chs@odoo.com> | 2019-05-07 11:42:58 +0200 |
| commit | 106dffe47979ae24f62eda829a6bbf1fdfe62184 (patch) | |
| tree | 30580e332f35d9c5d85abafeeee63e8d9a28cb86 | |
| parent | c32b7e54a5d81f6a8592a9c1c6c54704494e95e4 (diff) | |
[FIX] board: adapt test to new version
Oversight of previous forward-port.
| -rw-r--r-- | addons/board/static/tests/dashboard_tests.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/addons/board/static/tests/dashboard_tests.js b/addons/board/static/tests/dashboard_tests.js index 63252a75ac6..705c327a08f 100644 --- a/addons/board/static/tests/dashboard_tests.js +++ b/addons/board/static/tests/dashboard_tests.js @@ -926,7 +926,7 @@ QUnit.test("Dashboard should use correct groupby", async function (assert) { '</board>' + '</form>', mockRPC: function (route, args) { - if (args.method === 'read_group') { + if (args.method === 'web_read_group') { assert.deepEqual(args.kwargs.groupby, ['bar'], 'user defined groupby should have precedence on action groupby'); } @@ -950,9 +950,9 @@ QUnit.test("Dashboard should use correct groupby", async function (assert) { form.destroy(); }); -QUnit.test("Dashboard should use correct groupby when defined as a string of one field", function (assert) { +QUnit.test("Dashboard should use correct groupby when defined as a string of one field", async function (assert) { assert.expect(1); - var form = createView({ + var form = await createView({ View: BoardView, model: 'board', data: this.data, |
