diff options
| author | Christophe Simonis <chs@odoo.com> | 2019-01-10 18:54:48 +0100 |
|---|---|---|
| committer | Christophe Simonis <chs@odoo.com> | 2019-01-10 18:54:48 +0100 |
| commit | e033114879cfe4a487549c0abbe37ec18bc151c9 (patch) | |
| tree | 9a5ff369b6511c30077e503d229bfe9c917d68c8 | |
| parent | d11dc31e7ab553d2c0ae5eaaa59846b46d3cb20d (diff) | |
[FIX] sale_timesheet: correct test
Since 5efec7ccdd8ca3f15fad5df8de7c23154c23a7d9, ProjectPlan widget
expect actual html.
| -rw-r--r-- | addons/sale_timesheet/static/tests/timesheet_plan_tests.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/sale_timesheet/static/tests/timesheet_plan_tests.js b/addons/sale_timesheet/static/tests/timesheet_plan_tests.js index d1d71c4face..12ccea8e53b 100644 --- a/addons/sale_timesheet/static/tests/timesheet_plan_tests.js +++ b/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); }, |
