diff options
| author | Christophe Simonis <chs@odoo.com> | 2019-08-20 10:42:44 +0200 |
|---|---|---|
| committer | Christophe Simonis <chs@odoo.com> | 2019-08-20 10:42:44 +0200 |
| commit | 6f55fd65da8c50d36ca97654a920fb075076f125 (patch) | |
| tree | 1d01e19cd538245b5e28de798f3a3290b4f41775 /addons | |
| parent | 60c438dfb79a847057fd51b4b05f387c70df7883 (diff) | |
[FIX] mail: correct test adaptation to async version
Oversight of previous forward-port.
Diffstat (limited to 'addons')
| -rw-r--r-- | addons/mail/static/tests/chatter_tests.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/mail/static/tests/chatter_tests.js b/addons/mail/static/tests/chatter_tests.js index 884fc79fee6..3296a84ab0d 100644 --- a/addons/mail/static/tests/chatter_tests.js +++ b/addons/mail/static/tests/chatter_tests.js @@ -1198,7 +1198,7 @@ QUnit.test('chatter: new message notification from document', async function (as }; const notifications = [ [['myDB', 'ir.needaction'], message] ]; form.call('bus_service', 'trigger', 'notification', notifications); - await testUtils.nextMicrotaskTick(); + await testUtils.nextTick(); assert.strictEqual( thread.getUnreadCounter(), 1, |
