summaryrefslogtreecommitdiff
path: root/addons/mail/static/tests/document_thread_window_tests.js
diff options
context:
space:
mode:
Diffstat (limited to 'addons/mail/static/tests/document_thread_window_tests.js')
-rw-r--r--addons/mail/static/tests/document_thread_window_tests.js5
1 files changed, 0 insertions, 5 deletions
diff --git a/addons/mail/static/tests/document_thread_window_tests.js b/addons/mail/static/tests/document_thread_window_tests.js
index a14b2ebc159..d7064b8695d 100644
--- a/addons/mail/static/tests/document_thread_window_tests.js
+++ b/addons/mail/static/tests/document_thread_window_tests.js
@@ -84,12 +84,7 @@ QUnit.module('Document Thread', {
partner_id: partnerID, // so that needaction messages are treated as needactions
};
this.services = mailTestUtils.getMailServices();
- this.MailService = this.services.mail_service;
- this.MailService.prototype.IS_STATIC_PREVIEW_ENABLED = false;
},
- afterEach: function () {
- this.MailService.prototype.IS_STATIC_PREVIEW_ENABLED = true;
- }
});
QUnit.test('open a document thread in a thread window', function (assert) {