From ff8522cfd1758c698aa525347e3fb691566222ee Mon Sep 17 00:00:00 2001 From: sergiodt Date: Wed, 27 Mar 2024 07:09:18 +0100 Subject: [PATCH] refs #6964 feat:advice for olderItem --- .../item/back/methods/item-shelving/specs/hasItemOlder.spec.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/item/back/methods/item-shelving/specs/hasItemOlder.spec.js b/modules/item/back/methods/item-shelving/specs/hasItemOlder.spec.js index d44998fab..abffead53 100644 --- a/modules/item/back/methods/item-shelving/specs/hasItemOlder.spec.js +++ b/modules/item/back/methods/item-shelving/specs/hasItemOlder.spec.js @@ -32,7 +32,7 @@ describe('itemShelving hasOlder()', () => { const itemShelvingBefore = await models.ItemShelving.findOne(filter, myOptions); await itemShelvingBefore.updateAttributes({ itemFk: itemFk - }); + }, myOptions); const result = await models.ItemShelving.hasItemOlder(shelvingFkIn, parking, null, null, myOptions); expect(result).toBe(true);