Skip to content

Commit

Permalink
[FIX] sale_timesheet: correct test
Browse files Browse the repository at this point in the history
Since 5efec7c, ProjectPlan widget
expect actual html.
  • Loading branch information
KangOl committed Jan 10, 2019
1 parent d11dc31 commit e033114
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions addons/sale_timesheet/static/tests/timesheet_plan_tests.js
Expand Up @@ -48,7 +48,7 @@ QUnit.module('Timesheet Plan', {
mockRPC: function (route) { mockRPC: function (route) {
assert.step(route); assert.step(route);
if (route === '/timesheet/plan') { if (route === '/timesheet/plan') {
return $.when({html_content: 'Banach-Tarski'}); return $.when({html_content: '<p>Banach-Tarski</p>'});
} }
return this._super.apply(this, arguments); return this._super.apply(this, arguments);
}, },
Expand Down Expand Up @@ -81,7 +81,7 @@ QUnit.module('Timesheet Plan', {
action: {name: 'Fibonacci'}, action: {name: 'Fibonacci'},
mockRPC: function (route) { mockRPC: function (route) {
if (route === '/timesheet/plan') { if (route === '/timesheet/plan') {
return $.when({html_content: 'Banach-Tarski'}); return $.when({html_content: '<p>Banach-Tarski</p>'});
} }
return this._super.apply(this, arguments); return this._super.apply(this, arguments);
}, },
Expand Down

0 comments on commit e033114

Please sign in to comment.