refs #5542 fix backTest
gitea/salix/pipeline/head This commit looks good Details

This commit is contained in:
Vicent Llopis 2023-04-24 09:11:09 +02:00
parent 9b432bac85
commit 4983aa1632
1 changed files with 2 additions and 3 deletions

View File

@ -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: {