change test to adhere to the fixtures
gitea/salix/pipeline/head This commit looks good Details

This commit is contained in:
Pau 2023-01-24 10:15:32 +01:00
parent c13bffcc57
commit a2150b8b08
1 changed files with 2 additions and 2 deletions

View File

@ -33,7 +33,7 @@ describe('loopback model NotificationSubscription', () => {
try {
const options = {transaction: tx};
const user = 9;
const notificationSubscriptionId = 5;
const notificationSubscriptionId = 4;
const ctx = {req: {accessToken: {userId: user}}};
const notification = await models.NotificationSubscription.findById(notificationSubscriptionId);
@ -55,7 +55,7 @@ describe('loopback model NotificationSubscription', () => {
try {
const options = {transaction: tx};
const user = 9;
const notificationSubscriptionId = 6;
const notificationSubscriptionId = 5;
const ctx = {req: {accessToken: {userId: user}}};
const notification = await models.NotificationSubscription.findById(notificationSubscriptionId);