refs #3520 feat:uncheckedTicket
gitea/salix/pipeline/pr-dev There was a failure building this commit Details

This commit is contained in:
Sergio De la torre 2024-03-28 08:08:32 +01:00
parent 3cae155837
commit 8e6416d59c
1 changed files with 2 additions and 1 deletions

View File

@ -24,7 +24,7 @@ describe('ticketCollection hasUncheckedTicket()', () => {
const ticketTracking = await models.TicketTracking.findOne(filter, myOptions);
await ticketTracking.updateAttributes({
stateFk: stateFkUpdated
});
}, myOptions);
const result = await models.TicketCollection.hasUncheckedTicket(ticketFk, myOptions);
expect(result).toBe(true);
@ -35,3 +35,4 @@ describe('ticketCollection hasUncheckedTicket()', () => {
}
});
});