Skip to content
Snippets Groups Projects
Commit d2f8eb2b authored by Samuel Degueldre's avatar Samuel Degueldre
Browse files

[IMP] web: update underscorejs to v1.13.2


closes odoo/odoo#86875

Signed-off-by: default avatarAaron Bohy (aab) <aab@odoo.com>
parent 32032350
No related branches found
No related tags found
No related merge requests found
......@@ -132,10 +132,10 @@ odoo.define('hr_holidays.leave_stats_widget_tests', function (require) {
'</form>',
mockRPC: function (route, args) {
if (args.model === 'hr.leave' && args.method === 'search_read') {
assert.ok(_.some(args.args[0], ['department_id', '=', 11]), "It should load department's leaves data");
assert.ok(_.some(args.args[0], _.matcher(['department_id', '=', 11])), "It should load department's leaves data");
}
if (args.model === 'hr.leave' && args.method === 'read_group') {
assert.ok(_.some(args.kwargs.domain, ['employee_id', '=', 200]), "It should load employee's leaves data");
assert.ok(_.some(args.kwargs.domain, _.matcher(['employee_id', '=', 200])), "It should load employee's leaves data");
}
return this._super.apply(this, arguments);
},
......
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment