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);