From 9a9cd8a199b8535b3124eceaadb15777d074fba5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexandre=20K=C3=BChn?= Date: Fri, 1 Apr 2022 17:12:19 +0000 Subject: [PATCH] [IMP] mail: remove outdated Messaging/isQUnitTest field MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit closes odoo/odoo#87816 Signed-off-by: Sébastien Theys (seb) --- addons/mail/static/src/models/messaging.js | 8 -------- addons/mail/static/tests/helpers/test_utils.js | 1 - 2 files changed, 9 deletions(-) diff --git a/addons/mail/static/src/models/messaging.js b/addons/mail/static/src/models/messaging.js index cf478a7b004..6b9ea88ad09 100644 --- a/addons/mail/static/src/models/messaging.js +++ b/addons/mail/static/src/models/messaging.js @@ -322,14 +322,6 @@ registerModel({ isNotificationPermissionDefault: attr({ compute: '_computeIsNotificationPermissionDefault', }), - /** - * States whether the current environment is QUnit test. Useful to - * disable some features that are not possible to test due to - * technical limitations. - */ - isQUnitTest: attr({ - default: false, - }), locale: one('Locale', { default: insertAndReplace(), isCausal: true, diff --git a/addons/mail/static/tests/helpers/test_utils.js b/addons/mail/static/tests/helpers/test_utils.js index c75302040f4..deb25c9cd62 100644 --- a/addons/mail/static/tests/helpers/test_utils.js +++ b/addons/mail/static/tests/helpers/test_utils.js @@ -777,7 +777,6 @@ async function start(param0 = {}) { messagingValues: { autofetchPartnerImStatus: false, disableAnimation: true, - isQUnitTest: true, loadingBaseDelayDuration, messagingBus, },