From 6b9632effea9befc2f8af513b809c8e3d289d9d6 Mon Sep 17 00:00:00 2001 From: Aaron Bohy Date: Fri, 9 Mar 2018 08:12:52 +0100 Subject: [PATCH] [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. --- addons/mail/static/tests/chatter_tests.js | 3 +++ 1 file changed, 3 insertions(+) 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: '
' + '
' + '' + @@ -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: '' + '
' + '' + @@ -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: '' + '' + '
' +