From 3bde6e7475afd6caee21cbc4ff403fe75d18cb38 Mon Sep 17 00:00:00 2001 From: Johannes Zellner Date: Wed, 27 Sep 2023 09:11:03 +0200 Subject: [PATCH] Fixup eventlog tests --- src/test/eventlog-test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/eventlog-test.js b/src/test/eventlog-test.js index 28db75067..56b2d17d4 100644 --- a/src/test/eventlog-test.js +++ b/src/test/eventlog-test.js @@ -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);