#7277 - RefundInvoices #2904

Merged
jgallego merged 12 commits from 7277-RefundInvoices into dev 2024-09-05 09:07:25 +00:00
1 changed files with 4 additions and 4 deletions
Showing only changes of commit 355714fec8 - Show all commits

View File

@ -2,7 +2,7 @@ const models = require('vn-loopback/server/server').models;
const LoopBackContext = require('loopback-context');
const UserError = require('vn-loopback/util/user-error');
fdescribe('InvoiceOut transfer()', () => {
describe('InvoiceOut transfer()', () => {
const userId = 5;
let options;
let tx;
@ -134,9 +134,9 @@ fdescribe('InvoiceOut transfer()', () => {
// await tx.commit();
const transferredTickets = await models.Ticket.find({
where: {clientFk: newClientFk, refFk: null},
options
});
where: {clientFk: newClientFk, refFk: null}
},
options);
expect(transferredTickets.length).toBeGreaterThan(originalTickets.length);
});