This commit is contained in:
parent
5d337c4def
commit
115756aaf3
|
@ -1,5 +1,3 @@
|
||||||
// const transfer = require('../transfer');
|
|
||||||
|
|
||||||
const models = require('vn-loopback/server/server').models;
|
const models = require('vn-loopback/server/server').models;
|
||||||
|
|
||||||
describe('Transfer merchandise from one entry to the next day()', () => {
|
describe('Transfer merchandise from one entry to the next day()', () => {
|
||||||
|
@ -22,8 +20,6 @@ describe('Transfer merchandise from one entry to the next day()', () => {
|
||||||
|
|
||||||
const newEntrybuys = await models.Buy.find({where: {entryFk: newEntryFk}}, options);
|
const newEntrybuys = await models.Buy.find({where: {entryFk: newEntryFk}}, options);
|
||||||
|
|
||||||
await models.Entry.find({where: {id: newEntryFk}}, options);
|
|
||||||
|
|
||||||
const itemShelvingsWithBuys = await models.Buy.find({
|
const itemShelvingsWithBuys = await models.Buy.find({
|
||||||
include: {
|
include: {
|
||||||
relation: 'itemShelving',
|
relation: 'itemShelving',
|
||||||
|
|
Loading…
Reference in New Issue