diff options
Diffstat (limited to 'addons/mail/static/tests/document_thread_window_tests.js')
| -rw-r--r-- | addons/mail/static/tests/document_thread_window_tests.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/addons/mail/static/tests/document_thread_window_tests.js b/addons/mail/static/tests/document_thread_window_tests.js index 8cae9862dea..14d50d593ba 100644 --- a/addons/mail/static/tests/document_thread_window_tests.js +++ b/addons/mail/static/tests/document_thread_window_tests.js @@ -84,7 +84,12 @@ QUnit.module('DocumentThreadWindow', { 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) { |
