summaryrefslogtreecommitdiff
path: root/addons/web/static
diff options
context:
space:
mode:
authorLucas Perais (lpe) <lpe@odoo.com>2021-02-11 15:56:31 +0000
committerLucas Perais (lpe) <lpe@odoo.com>2021-02-15 09:40:45 +0000
commite1fc6707ed4ddfe7c62e6beead8617e5fbe6ea9b (patch)
treeaedfc6440357442892a50aeb03bb12508333486e /addons/web/static
parentae90842be8a87999e0cdbbf00b86b1bbf92992ce (diff)
[FIX] web: list_test: an assert was not triggered, now it is
follows #59830
Diffstat (limited to 'addons/web/static')
-rw-r--r--addons/web/static/tests/views/list_tests.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/web/static/tests/views/list_tests.js b/addons/web/static/tests/views/list_tests.js
index 48eadf34a77..b9b747dbc7d 100644
--- a/addons/web/static/tests/views/list_tests.js
+++ b/addons/web/static/tests/views/list_tests.js
@@ -7200,7 +7200,7 @@ QUnit.module('Views', {
});
QUnit.test('reference field batched in grouped list', async function (assert) {
- assert.expect(7);
+ assert.expect(8);
this.data.foo.records= [
// group 1
@@ -7226,7 +7226,7 @@ QUnit.module('Views', {
if (args.model === 'bar') {
assert.deepEqual(args.args[0], [1, 2 ,3]);
}
- if (args.model === "res.currency") {
+ if (args.model === "res_currency") {
assert.deepEqual(args.args[0], [1]);
}
}