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/chatter_tests.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/chatter_tests.js')
| -rw-r--r-- | addons/mail/static/tests/chatter_tests.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/mail/static/tests/chatter_tests.js b/addons/mail/static/tests/chatter_tests.js index c7c082148a0..17f304b067a 100644 --- a/addons/mail/static/tests/chatter_tests.js +++ b/addons/mail/static/tests/chatter_tests.js @@ -424,7 +424,7 @@ QUnit.test('chatter: post, receive and star messages', function (assert) { var done = assert.async(); assert.expect(27); - var bus = this.services[1].prototype.bus; + var bus = this.services.bus_service.prototype.bus; this.data.partner.records[0].message_ids = [1]; this.data['mail.message'].records = [{ @@ -784,7 +784,7 @@ QUnit.test('chatter: discard changes on message post with post_refresh "recipien var getSuggestionsDef = $.Deferred(); var messages = []; - var bus = this.services[1].prototype.bus; + var bus = this.services.bus_service.prototype.bus; var form = createView({ View: FormView, model: 'partner', |
