refs #3520 feat:uncheckedTicket
gitea/salix/pipeline/pr-dev There was a failure building this commit
Details
gitea/salix/pipeline/pr-dev There was a failure building this commit
Details
This commit is contained in:
parent
3cae155837
commit
8e6416d59c
|
@ -24,7 +24,7 @@ describe('ticketCollection hasUncheckedTicket()', () => {
|
||||||
const ticketTracking = await models.TicketTracking.findOne(filter, myOptions);
|
const ticketTracking = await models.TicketTracking.findOne(filter, myOptions);
|
||||||
await ticketTracking.updateAttributes({
|
await ticketTracking.updateAttributes({
|
||||||
stateFk: stateFkUpdated
|
stateFk: stateFkUpdated
|
||||||
});
|
}, myOptions);
|
||||||
const result = await models.TicketCollection.hasUncheckedTicket(ticketFk, myOptions);
|
const result = await models.TicketCollection.hasUncheckedTicket(ticketFk, myOptions);
|
||||||
|
|
||||||
expect(result).toBe(true);
|
expect(result).toBe(true);
|
||||||
|
@ -35,3 +35,4 @@ describe('ticketCollection hasUncheckedTicket()', () => {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue