From 36b021664020648d760bc5df5022aa976f7a0c5a Mon Sep 17 00:00:00 2001 From: alexandre Date: Tue, 6 Jun 2023 07:40:38 +0200 Subject: [PATCH] refs #5513 changed tests description --- modules/entry/back/methods/entry/specs/addFromPackaging.spec.js | 2 +- .../back/methods/supplier/specs/getItemsPackaging.spec.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/entry/back/methods/entry/specs/addFromPackaging.spec.js b/modules/entry/back/methods/entry/specs/addFromPackaging.spec.js index 42d33ae61..1b0d4656f 100644 --- a/modules/entry/back/methods/entry/specs/addFromPackaging.spec.js +++ b/modules/entry/back/methods/entry/specs/addFromPackaging.spec.js @@ -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}; diff --git a/modules/supplier/back/methods/supplier/specs/getItemsPackaging.spec.js b/modules/supplier/back/methods/supplier/specs/getItemsPackaging.spec.js index 0fb01f5b5..8e4cc9145 100644 --- a/modules/supplier/back/methods/supplier/specs/getItemsPackaging.spec.js +++ b/modules/supplier/back/methods/supplier/specs/getItemsPackaging.spec.js @@ -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);