diff options
| author | Romain Derie <rde@odoo.com> | 2019-10-08 09:47:26 +0000 |
|---|---|---|
| committer | fw-bot <otis@odoo.com> | 2019-10-10 08:56:22 +0000 |
| commit | 9bbf57f915784f97c74531bd8d3bc255319ed235 (patch) | |
| tree | 252fc8950395b9b672cecc730845a8be4efe289c /addons/web/static/tests | |
| parent | bdb08d0bcc759ab7f31070392c45e29a8b9fe935 (diff) | |
[REM] web: remove unused controller /apps/<app>
This controller never really worked in the last 3 versions.
It was fixed in 11.3 with e9350993ca0 but broken with refactoring in 12.0 at a
higher level with 19eacf7d23c9.
It was even worse in 13.0 as it was leading to a traceback: `view_type` field
got removed with 3cd7ed07a29c8 but this controller was still reading that
field.
closes odoo/odoo#38355
X-original-commit: a5c4e262449fef03d05d5250e4523832db5fbf00
Signed-off-by: Jérémy Kersten (jke) <jke@openerp.com>
Diffstat (limited to 'addons/web/static/tests')
| -rw-r--r-- | addons/web/static/tests/chrome/action_manager_tests.js | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/addons/web/static/tests/chrome/action_manager_tests.js b/addons/web/static/tests/chrome/action_manager_tests.js index b878e642b4f..e4e8458a9e7 100644 --- a/addons/web/static/tests/chrome/action_manager_tests.js +++ b/addons/web/static/tests/chrome/action_manager_tests.js @@ -1275,30 +1275,6 @@ QUnit.module('ActionManager', { actionManager.destroy(); }); - QUnit.test('state.sa should load action from session', async function (assert) { - assert.expect(1); - - var actionManager = await createActionManager({ - actions: this.actions, - archs: this.archs, - data: this.data, - mockRPC: function (route, args) { - if (route === '/web/session/get_session_action') { - return Promise.resolve(1); - } - return this._super.apply(this, arguments); - }, - }); - await actionManager.loadState({ - sa: 1, - }); - - assert.strictEqual(actionManager.$('.o_kanban_view').length, 1, - "should have rendered a kanban view"); - - actionManager.destroy(); - }); - QUnit.module('Concurrency management'); QUnit.test('drop previous actions if possible', async function (assert) { |
