Add notification types

This commit is contained in:
Johannes Zellner
2023-09-22 17:58:13 +02:00
parent fc6c8c5b7f
commit b72a5e9c69
5 changed files with 43 additions and 23 deletions

View File

@@ -19,7 +19,7 @@ describe('Notifications API', function () {
it('can add notifications', async function () {
for (let i = 0; i < 3; i++) {
const id = await notifications._add(`title ${i}`, `message ${i}`, { eventId: null });
const id = await notifications._add(notifications.ALERT_APP_UPDATED, `title ${i}`, `message ${i}`, { eventId: null });
notificationIds.push(id);
}
});