[FIX] mail: correct test adaptation to async version
Oversight of previous forward-port.
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user