test: refs #7277 fix test proposal
gitea/salix/pipeline/pr-dev There was a failure building this commit
Details
gitea/salix/pipeline/pr-dev There was a failure building this commit
Details
This commit is contained in:
parent
48c7d1d783
commit
355714fec8
|
@ -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);
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue