fixes #5513 Crear back para añadir funcionalidad de Embalajes de la app #1504

Merged
alexandre merged 16 commits from 5513-backs-embalajes into dev 2023-06-06 06:21:16 +00:00
2 changed files with 2 additions and 2 deletions
Showing only changes of commit 36b0216640 - Show all commits

View File

@ -21,7 +21,7 @@ describe('entry addFromPackaging()', () => {
});
});
it('should create a receipt travel', async() => {
it('should create an incoming travel', async() => {
alexandre marked this conversation as resolved Outdated

should create an incoming travel

should create an incoming travel
const ctx = {args: {isTravelReception: true, supplier}};
const tx = await models.Entry.beginTransaction({});
const options = {transaction: tx};

View File

@ -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() => {
alexandre marked this conversation as resolved Outdated

should return a summary of the list of items from a specific supplier

chatgpt

should return a summary of the list of items from a specific supplier chatgpt
const [item] = await app.models.Supplier.getItemsPackaging(1, 1);
expect(item.id).toEqual(1);