Skip to content

Commit 437e768

Browse files
committed
DEVX-813: adding tests for InventoryUtil
1 parent fb9d93d commit 437e768

2 files changed

Lines changed: 28 additions & 0 deletions

File tree

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"id": "inv-id-001",
3+
"version": 1,
4+
"key": "inventory-key",
5+
"sku": "sku-001",
6+
"quantityOnStock": 100,
7+
"restockableInDays": 3,
8+
"expectedDelivery": "2026-07-01T00:00:00.000Z",
9+
"supplyChannel": {
10+
"typeId": "channel",
11+
"id": "channel-id-001",
12+
"obj": { "id": "channel-id-001", "version": 1, "key": "channel-key",
13+
"roles": [], "createdAt": "1970-01-01T00:00:00.001Z", "lastModifiedAt": "1970-01-01T00:00:00.001Z" }
14+
},
15+
"createdAt": "1970-01-01T00:00:00.001Z",
16+
"lastModifiedAt": "1970-01-01T00:00:00.001Z"
17+
}
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"id": "inv-id-001",
3+
"version": 1,
4+
"key": "inventory-key",
5+
"sku": "sku-001",
6+
"quantityOnStock": 100,
7+
"restockableInDays": 3,
8+
"expectedDelivery": "2026-07-01T00:00:00.000Z",
9+
"createdAt": "1970-01-01T00:00:00.001Z",
10+
"lastModifiedAt": "1970-01-01T00:00:00.001Z"
11+
}

0 commit comments

Comments
 (0)