[FIX] mail: correct test adaptation to async version

Oversight of previous forward-port.
This commit is contained in:
Christophe Simonis
2019-08-20 10:42:44 +02:00
parent 60c438dfb7
commit 6f55fd65da
+1 -1
View File
@@ -1198,7 +1198,7 @@ QUnit.test('chatter: new message notification from document', async function (as
}; };
const notifications = [ [['myDB', 'ir.needaction'], message] ]; const notifications = [ [['myDB', 'ir.needaction'], message] ];
form.call('bus_service', 'trigger', 'notification', notifications); form.call('bus_service', 'trigger', 'notification', notifications);
await testUtils.nextMicrotaskTick(); await testUtils.nextTick();
assert.strictEqual( assert.strictEqual(
thread.getUnreadCounter(), thread.getUnreadCounter(),
1, 1,