This commit is contained in:
parent
43b042a616
commit
ff8522cfd1
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue