3520_wareshouse_back #2218
|
@ -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);
|
||||||
sergiodt marked this conversation as resolved
Outdated
|
|||||||
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
, myOptions