7253-devToTest_2418 #2350
|
@ -6,7 +6,7 @@ describe('NotificationSubscription getList()', () => {
|
||||||
const notifications = await models.Notification.find({});
|
const notifications = await models.Notification.find({});
|
||||||
const totalAvailable = notifications.length - active.length;
|
const totalAvailable = notifications.length - active.length;
|
||||||
|
|
||||||
expect(active.length).toEqual(0);
|
expect(active.length).toEqual(1);
|
||||||
expect(available.length).toEqual(totalAvailable);
|
expect(available.length).toEqual(totalAvailable);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
|
@ -2799,7 +2799,8 @@ INSERT INTO `util`.`notificationSubscription` (`notificationFk`, `userFk`)
|
||||||
(4, 1110),
|
(4, 1110),
|
||||||
(2, 1109),
|
(2, 1109),
|
||||||
(12, 9),
|
(12, 9),
|
||||||
(12, 3);
|
(12, 3),
|
||||||
|
(12, 100);
|
||||||
|
|
||||||
INSERT INTO `util`.`notificationAcl` (`notificationFk`, `roleFk`)
|
INSERT INTO `util`.`notificationAcl` (`notificationFk`, `roleFk`)
|
||||||
VALUES (12, 9),
|
VALUES (12, 9),
|
||||||
|
|
Loading…
Reference in New Issue