refs #5513 fix back test
gitea/salix/pipeline/head There was a failure building this commit Details

This commit is contained in:
Alexandre Riera 2023-05-30 13:48:56 +02:00
parent c0c522c619
commit 576a5f050e
1 changed files with 1 additions and 1 deletions

View File

@ -2,7 +2,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() => {
const item = await app.models.Supplier.getItemsPackaging(1, 1);
const [item] = await app.models.Supplier.getItemsPackaging(1, 1);
expect(item.id).toEqual(1);
expect(item.name).toEqual('Ranged weapon longbow 2m');