This commit is contained in:
parent
5db8ae53ac
commit
d17566107e
|
@ -2,7 +2,7 @@
|
||||||
const {models} = require('vn-loopback/server/server');
|
const {models} = require('vn-loopback/server/server');
|
||||||
|
|
||||||
describe('itemShelving getItemsByReviewOrder()', () => {
|
describe('itemShelving getItemsByReviewOrder()', () => {
|
||||||
fit('should return empty because hoursToReview = 0', async() => {
|
it('should return empty because hoursToReview = 0', async() => {
|
||||||
const shelving = 'NBB';
|
const shelving = 'NBB';
|
||||||
const parking = '700-01';
|
const parking = '700-01';
|
||||||
|
|
||||||
|
@ -25,7 +25,7 @@ describe('itemShelving getItemsByReviewOrder()', () => {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
fit('should return an item because you are trying parking a shelving and there is an older item', async() => {
|
it('should return an item because you are trying parking a shelving and there is an older item', async() => {
|
||||||
const shelving = 'NBB';
|
const shelving = 'NBB';
|
||||||
const parking = 'K-26-2';
|
const parking = 'K-26-2';
|
||||||
const itemFk = 1000000;
|
const itemFk = 1000000;
|
||||||
|
@ -49,7 +49,7 @@ describe('itemShelving getItemsByReviewOrder()', () => {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
fit('should return an item because you are trying parking a shelving and there is an newer item', async() => {
|
it('should return an item because you are trying parking a shelving and there is an newer item', async() => {
|
||||||
const shelving = 'NBB';
|
const shelving = 'NBB';
|
||||||
const parking = 'K-26-2';
|
const parking = 'K-26-2';
|
||||||
const itemFk = 1000000;
|
const itemFk = 1000000;
|
||||||
|
@ -73,7 +73,7 @@ describe('itemShelving getItemsByReviewOrder()', () => {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
fit('should return a item list because you are trying parking a shelving and there is an newer item', async() => {
|
it('should return a item list because you are trying parking a shelving and there is an newer item', async() => {
|
||||||
const shelving = 'NCC';
|
const shelving = 'NCC';
|
||||||
const parking = 'K-26-2';
|
const parking = 'K-26-2';
|
||||||
const itemFk = 1000000;
|
const itemFk = 1000000;
|
||||||
|
@ -97,7 +97,7 @@ describe('itemShelving getItemsByReviewOrder()', () => {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
fit('should return empty list because all order is correct', async() => {
|
it('should return empty list because all order is correct', async() => {
|
||||||
const shelving = 'NCC';
|
const shelving = 'NCC';
|
||||||
const parking = 'A-01-1';
|
const parking = 'A-01-1';
|
||||||
const itemFk = 1000000;
|
const itemFk = 1000000;
|
||||||
|
|
Loading…
Reference in New Issue