Fixup eventlog tests

This commit is contained in:
Johannes Zellner
2023-09-27 09:11:03 +02:00
parent 6bfd047c0f
commit 3bde6e7475

View File

@@ -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);