This commit is contained in:
parent
9c9a2d4fe2
commit
36b0216640
|
@ -21,7 +21,7 @@ describe('entry addFromPackaging()', () => {
|
|||
});
|
||||
});
|
||||
|
||||
it('should create a receipt travel', async() => {
|
||||
it('should create an incoming travel', async() => {
|
||||
const ctx = {args: {isTravelReception: true, supplier}};
|
||||
const tx = await models.Entry.beginTransaction({});
|
||||
const options = {transaction: tx};
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
const app = require('vn-loopback/server/server');
|
||||
|
||||
describe('Supplier getItemsPackaging()', () => {
|
||||
it('should return a summary the list of items from a determinate supplier', async() => {
|
||||
it('should return a summary of the list of items from a specific supplier', async() => {
|
||||
const [item] = await app.models.Supplier.getItemsPackaging(1, 1);
|
||||
|
||||
expect(item.id).toEqual(1);
|
||||
|
|
Loading…
Reference in New Issue