refs #6964 feat:advice for olderItem
gitea/salix/pipeline/pr-dev This commit looks good Details

This commit is contained in:
Sergio De la torre 2024-03-27 07:09:18 +01:00
parent 43b042a616
commit ff8522cfd1
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ describe('itemShelving hasOlder()', () => {
const itemShelvingBefore = await models.ItemShelving.findOne(filter, myOptions); const itemShelvingBefore = await models.ItemShelving.findOne(filter, myOptions);
await itemShelvingBefore.updateAttributes({ await itemShelvingBefore.updateAttributes({
itemFk: itemFk itemFk: itemFk
}); }, myOptions);
const result = await models.ItemShelving.hasItemOlder(shelvingFkIn, parking, null, null, myOptions); const result = await models.ItemShelving.hasItemOlder(shelvingFkIn, parking, null, null, myOptions);
expect(result).toBe(true); expect(result).toBe(true);