This commit is contained in:
parent
9b432bac85
commit
4983aa1632
|
@ -22,7 +22,7 @@ describe('Sale refund()', () => {
|
|||
try {
|
||||
const options = {transaction: tx};
|
||||
|
||||
const refundedTicket = await models.Sale.refund(salesIds, servicesIds, false, options);
|
||||
const refundedTicket = await models.Sale.refund(salesIds, servicesIds, options);
|
||||
|
||||
expect(refundedTicket).toBeDefined();
|
||||
|
||||
|
@ -40,8 +40,7 @@ describe('Sale refund()', () => {
|
|||
try {
|
||||
const options = {transaction: tx};
|
||||
|
||||
const createSingleTicket = false;
|
||||
const ticket = await models.Sale.refund(salesIds, servicesIds, createSingleTicket, options);
|
||||
const ticket = await models.Sale.refund(salesIds, servicesIds, options);
|
||||
|
||||
const refundedTicket = await models.Ticket.findOne({
|
||||
where: {
|
||||
|
|
Loading…
Reference in New Issue