-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(medusa): Missing metadata field on order (#10651)
- Loading branch information
1 parent
570c855
commit f3eca77
Showing
2 changed files
with
7 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,6 +30,9 @@ medusaIntegrationTestRunner({ | |
const created = await orderModule.createOrders({ | ||
region_id: "test_region_id", | ||
email: "[email protected]", | ||
metadata: { | ||
foo: "bar", | ||
}, | ||
items: [ | ||
{ | ||
title: "Custom Item 2", | ||
|
@@ -108,6 +111,9 @@ medusaIntegrationTestRunner({ | |
payment_status: "not_paid", | ||
region_id: "test_region_id", | ||
fulfillments: [], | ||
metadata: { | ||
foo: "bar", | ||
}, | ||
fulfillment_status: "not_fulfilled", | ||
summary: expect.objectContaining({ | ||
// TODO: add all summary fields | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters