File tree Expand file tree Collapse file tree
integration-tests/http/__tests__/order-edits Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -251,14 +251,14 @@ medusaIntegrationTestRunner({
251251 adminHeaders
252252 )
253253
254- // await api.post(
255- // `/admin/inventory-items/${inventoryItem.id}/location-levels`,
256- // {
257- // location_id: locationTwo.id,
258- // stocked_quantity: 0 ,
259- // },
260- // adminHeaders
261- // )
254+ await api . post (
255+ `/admin/inventory-items/${ inventoryItem . id } /location-levels` ,
256+ {
257+ location_id : locationTwo . id ,
258+ stocked_quantity : 2 ,
259+ } ,
260+ adminHeaders
261+ )
262262
263263 inventoryItemExtra = (
264264 await api . get ( `/admin/inventory-items?sku=variant-sku` , adminHeaders )
@@ -286,14 +286,6 @@ medusaIntegrationTestRunner({
286286 fulfillment_provider_id : shippingProviderId ,
287287 } ,
288288 } ,
289- // {
290- // [Modules.STOCK_LOCATION]: {
291- // stock_location_id: locationTwo.id,
292- // },
293- // [Modules.FULFILLMENT]: {
294- // fulfillment_provider_id: shippingProviderId,
295- // },
296- // },
297289 {
298290 [ Modules . STOCK_LOCATION ] : {
299291 stock_location_id : location . id ,
You can’t perform that action at this time.
0 commit comments