From 3fbf32bd52292b0aab24bc8892342c51ec2df6c8 Mon Sep 17 00:00:00 2001 From: sergiodt Date: Thu, 21 Mar 2024 10:32:36 +0100 Subject: [PATCH] refs #6276 feat:newWarehouse --- .../specs/{addListByItem.spec.js => UpsertItem.spec.js} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename modules/item/back/methods/item-shelving/specs/{addListByItem.spec.js => UpsertItem.spec.js} (96%) diff --git a/modules/item/back/methods/item-shelving/specs/addListByItem.spec.js b/modules/item/back/methods/item-shelving/specs/UpsertItem.spec.js similarity index 96% rename from modules/item/back/methods/item-shelving/specs/addListByItem.spec.js rename to modules/item/back/methods/item-shelving/specs/UpsertItem.spec.js index 51fadb6a2..e68550935 100644 --- a/modules/item/back/methods/item-shelving/specs/addListByItem.spec.js +++ b/modules/item/back/methods/item-shelving/specs/UpsertItem.spec.js @@ -51,6 +51,6 @@ xdescribe('ItemShelving upsertItem()', () => { where: {shelvingFk, itemFk: items[0]} }, options); - expect(itemsAfter).toEqual(itemsBefore + 2); + expect(itemsAfter).toEqual(itemsBefore); }); });