3520_wareshouse_back #2218
|
@ -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()', () => {
|
|||
}
|
||||
});
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue