test: refs #7277 fix test proposal
gitea/salix/pipeline/pr-dev There was a failure building this commit Details

This commit is contained in:
Javier Segarra 2024-09-02 11:43:35 +02:00
parent 48c7d1d783
commit 355714fec8
1 changed files with 4 additions and 4 deletions

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);
});