fix: fix weight/length/height/width types in updates (#12500)
This commit is contained in:
1 parent
04acc5d219
commit
2affc0d7d9
3 files changed
+34
No files matched your search
@@ -3043,12 +3043,20 @@ medusaIntegrationTestRunner({
|
||||
describe("batch methods", () => {
|
||||
it("successfully creates, updates, and deletes products", async () => {
|
||||
const createPayload = getProductFixture({
|
||||
weight: 100,
|
||||
length: 200,
|
||||
height: 300,
|
||||
width: 400,
|
||||
title: "Test batch create",
|
||||
handle: "test-batch-create",
|
||||
shipping_profile_id: shippingProfile.id,
|
||||
})
|
||||
|
||||
const updatePayload = {
|
||||
weight: 101,
|
||||
length: 201,
|
||||
height: 301,
|
||||
width: 401,
|
||||
id: publishedProduct.id,
|
||||
title: "Test batch update",
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user