Skip to content
Permalink
Browse files

[FIX] web: remove extra test added by forward-port

As related patch hasn't been forward-ported, this extra test (that isn't
execute for unknown reason) can be removed.
  • Loading branch information...
KangOl committed Feb 22, 2019
1 parent 7f9b7be commit 9332e25195233398a5de40ed7a88c090d31cc361
Showing with 1 addition and 12 deletions.
  1. +1 −12 addons/web/static/tests/views/pivot_tests.js
@@ -1494,7 +1494,7 @@ QUnit.module('Views', {
});

QUnit.test('rendering of pivot view with comparison', function (assert) {
assert.expect(92);
assert.expect(91);

this.data.partner.records[0].date = '2016-12-15';
this.data.partner.records[1].date = '2016-12-17';
@@ -1530,17 +1530,6 @@ QUnit.module('Views', {
'<field name="foo" type="measure"/>' +
'</pivot>',
'partner,false,search': '<search></search>',
},
intercepts: {
create_filter: function (ev) {
var data = ev.data;
assert.deepEqual(data.filter.context.timeRangeMenuData, {
timeRange: ["&",["date",">=","2016-12-01"],["date","<","2017-01-01"]],
timeRangeDescription: 'This Month',
comparisonTimeRange: ["&",["date",">=","2016-11-01"],["date","<","2016-12-01"]],
comparisonTimeRangeDescription: 'Previous Period',
});
}
}
});

0 comments on commit 9332e25

Please sign in to comment.
You can’t perform that action at this time.