summaryrefslogtreecommitdiff
path: root/addons
diff options
context:
space:
mode:
authorAaron Bohy <aab@odoo.com>2018-03-09 08:12:52 +0100
committerAaron Bohy <aab@odoo.com>2018-03-09 09:27:52 +0100
commit6b9632effea9befc2f8af513b809c8e3d289d9d6 (patch)
treee2b82ed3c4af80cce150ba05dad603ff53009778 /addons
parent0a66ca3909c6562c59ee34d3b5f33ed1f6d38a43 (diff)
[FIX] mail: adapt forwardported tests
The ChatManager has been refactored in saas-11.2 to make it fully (and more easily) testable. This means that tests involving messaging stuff written in previous versions need to be slightly adapted when being forwardported to saas-11.2. In particular, the 3 tests adapted in this commit broke because of an include done in the voip addon. Those tests have been added in 3809fc891.
Diffstat (limited to 'addons')
-rw-r--r--addons/mail/static/tests/chatter_tests.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/addons/mail/static/tests/chatter_tests.js b/addons/mail/static/tests/chatter_tests.js
index fa5182a10a1..03bfc3898ce 100644
--- a/addons/mail/static/tests/chatter_tests.js
+++ b/addons/mail/static/tests/chatter_tests.js
@@ -730,6 +730,7 @@ QUnit.test('form activity widget: read RPCs', function (assert) {
View: FormView,
model: 'partner',
data: this.data,
+ services: this.services,
arch: '<form string="Partners">' +
'<div class="oe_chatter">' +
'<field name="activity_ids" widget="mail_activity"/>' +
@@ -774,6 +775,7 @@ QUnit.test('form activity widget on a new record', function (assert) {
View: FormView,
model: 'partner',
data: this.data,
+ services: this.services,
arch: '<form string="Partners">' +
'<div class="oe_chatter">' +
'<field name="activity_ids" widget="mail_activity"/>' +
@@ -811,6 +813,7 @@ QUnit.test('form activity widget with another x2many field in view', function (a
View: FormView,
model: 'partner',
data: this.data,
+ services: this.services,
arch: '<form string="Partners">' +
'<field name="m2m" widget="many2many_tags"/>' +
'<div class="oe_chatter">' +