Permalink
Browse files

[FIX] sale_timesheet: correct test

Since 5efec7c, ProjectPlan widget
expect actual html.
  • Loading branch information...
KangOl committed Jan 10, 2019
1 parent d11dc31 commit e033114879cfe4a487549c0abbe37ec18bc151c9
Showing with 2 additions and 2 deletions.
  1. +2 −2 addons/sale_timesheet/static/tests/timesheet_plan_tests.js
@@ -48,7 +48,7 @@ QUnit.module('Timesheet Plan', {
mockRPC: function (route) {
assert.step(route);
if (route === '/timesheet/plan') {
return $.when({html_content: 'Banach-Tarski'});
return $.when({html_content: '<p>Banach-Tarski</p>'});
}
return this._super.apply(this, arguments);
},
@@ -81,7 +81,7 @@ QUnit.module('Timesheet Plan', {
action: {name: 'Fibonacci'},
mockRPC: function (route) {
if (route === '/timesheet/plan') {
return $.when({html_content: 'Banach-Tarski'});
return $.when({html_content: '<p>Banach-Tarski</p>'});
}
return this._super.apply(this, arguments);
},

0 comments on commit e033114

Please sign in to comment.