2669 - Changes to the translate values function #577

Merged
carlosjr merged 6 commits from 2669-loggable_refactor into dev 2021-03-22 09:24:52 +00:00
2 changed files with 4 additions and 2 deletions
Showing only changes of commit 6da84e46c1 - Show all commits

View File

@ -36,6 +36,7 @@ describe('claimBeginning', () => {
await tx.rollback();
} catch (e) {
await tx.rollback();
throw e;
}
});
});

View File

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