[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.
This commit is contained in:
Aaron Bohy
2018-03-09 09:27:52 +01:00
parent 0a66ca3909
commit 6b9632effe
@@ -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">' +