fix: refs #6005 add fixtures for a spec
gitea/salix/pipeline/head There was a failure building this commit Details

This commit is contained in:
Pablo Natek 2023-11-29 09:10:45 +01:00
parent d5fcfdfd79
commit d8cf059027
2 changed files with 3 additions and 2 deletions

View File

@ -6,7 +6,7 @@ describe('NotificationSubscription getList()', () => {
const notifications = await models.Notification.find({});
const totalAvailable = notifications.length - active.length;
expect(active.length).toEqual(0);
expect(active.length).toEqual(1);
expect(available.length).toEqual(totalAvailable);
});
});

View File

@ -2799,7 +2799,8 @@ INSERT INTO `util`.`notificationSubscription` (`notificationFk`, `userFk`)
(4, 1110),
(2, 1109),
(12, 9),
(12, 3);
(12, 3),
(12, 100);
INSERT INTO `util`.`notificationAcl` (`notificationFk`, `roleFk`)
VALUES (12, 9),