diff options
| author | Christophe Matthieu <chm@odoo.com> | 2018-08-02 13:36:30 +0200 |
|---|---|---|
| committer | Christophe Matthieu <chm@odoo.com> | 2018-08-09 02:31:59 +0200 |
| commit | a8e4e625f4075892cd5b86b3dbc61b70ace3470d (patch) | |
| tree | 91e065ca47d5c88f6448162cf27ac3c6c70cfba8 /addons/mail/static/tests/helpers/test_utils.js | |
| parent | cf4c4a11b734d65235e22b27550a499611581fff (diff) | |
[IMP] web: remove useless service name
We use the registry keys as name for the services.
Diffstat (limited to 'addons/mail/static/tests/helpers/test_utils.js')
| -rw-r--r-- | addons/mail/static/tests/helpers/test_utils.js | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/addons/mail/static/tests/helpers/test_utils.js b/addons/mail/static/tests/helpers/test_utils.js index ff5370d57ab..f90a86bdd41 100644 --- a/addons/mail/static/tests/helpers/test_utils.js +++ b/addons/mail/static/tests/helpers/test_utils.js @@ -74,7 +74,6 @@ function getMailServices() { is_odoo_focused: function () { return true; }, }); var BusService = AbstractService.extend({ - name: 'bus_service', bus: new MockBus(), //-------------------------------------------------------------------------- @@ -89,10 +88,13 @@ function getMailServices() { } }); var LocalStorageService = AbstractStorageService.extend({ - name: 'local_storage', storage: new RamStorage(), }); - return [MailService, BusService, LocalStorageService]; + return { + mail_service: MailService, + bus_service: BusService, + local_storage: LocalStorageService, + }; } return { |
