fix: refs #6005 add fixtures for a spec
gitea/salix/pipeline/head There was a failure building this commit
Details
gitea/salix/pipeline/head There was a failure building this commit
Details
This commit is contained in:
parent
d5fcfdfd79
commit
d8cf059027
|
@ -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