Fixup eventlog tests
This commit is contained in:
@@ -114,7 +114,7 @@ describe('Eventlog', function () {
|
||||
for (const e of [ eventlog.ACTION_USER_LOGIN, eventlog.ACTION_USER_LOGIN_GHOST, eventlog.ACTION_USER_LOGOUT, eventlog.ACTION_USER_LOGIN ]) {
|
||||
const eventId = await eventlog.add(e, { ip: '1.2.3.4' }, { appId: 'thatapp' });
|
||||
|
||||
await notifications._add('title', 'some message', { eventId });
|
||||
await notifications._add(notifications.ALERT_APP_UPDATED, 'title', 'some message', { eventId });
|
||||
}
|
||||
|
||||
await timers.setTimeout(3000);
|
||||
|
||||
Reference in New Issue
Block a user