Rollback test changes
gitea/salix/pipeline/head This commit looks good Details

This commit is contained in:
Joan Sanchez 2021-03-22 10:27:07 +01:00
parent 584947c52c
commit eb12126603
1 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
const app = require('vn-loopback/server/server'); const app = require('vn-loopback/server/server');
const LoopBackContext = require('loopback-context'); const LoopBackContext = require('loopback-context');
fdescribe('entry import()', () => { describe('entry import()', () => {
const buyerId = 35; const buyerId = 35;
const companyId = 442; const companyId = 442;
const travelId = 1; const travelId = 1;
@ -64,7 +64,7 @@ fdescribe('entry import()', () => {
await app.models.Entry.importBuys(ctx, newEntry.id, options); await app.models.Entry.importBuys(ctx, newEntry.id, options);
const updatedEntry = await app.models.Entry.findById(null, null, options); const updatedEntry = await app.models.Entry.findById(newEntry.id, null, options);
const entryBuys = await app.models.Buy.find({ const entryBuys = await app.models.Buy.find({
where: {entryFk: newEntry.id} where: {entryFk: newEntry.id}
}, options); }, options);