feat(medusa): Separate money amount and variant (#4906)
* initial changes * working test * final changes to product tests * update integration tests * update price list integration tests * update integration tests * update unit tests * update plugin integration tests * remove catch from integration test * undo change * add andWhere * update upsertCurrencyMoneyAmount method * undo line item changes * undo changes * update deprecated method * Update packages/medusa/src/migrations/1692953518123-drop_money_amount_constraints_for_pricing_module.ts Co-authored-by: Carlos R. L. Rodrigues <37986729+carlos-r-l-rodrigues@users.noreply.github.com> * rename joinTable * update with joinTable entity * update load methods * remove await create * re-add context test * update price list behavior for prices * update price list snapshots * re-add admin seeder * pr feedback * fix unit tests * fix plugin integration tests * initial review changes * redo changes to variant creation --------- Co-authored-by: Carlos R. L. Rodrigues <37986729+carlos-r-l-rodrigues@users.noreply.github.com> Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
This commit is contained in:
@@ -1177,7 +1177,7 @@ describe("/admin/orders", () => {
|
||||
const manager = dbConnection.manager
|
||||
|
||||
// add a shipping method so we can fulfill the swap
|
||||
const sm = await manager.create(ShippingMethod, {
|
||||
const sm = manager.create(ShippingMethod, {
|
||||
id: "test-method-swap-cart",
|
||||
swap_id: sid,
|
||||
shipping_option_id: "test-option",
|
||||
@@ -1654,7 +1654,7 @@ describe("/admin/orders", () => {
|
||||
)
|
||||
})
|
||||
|
||||
it.only("fails to lists all orders with an invalid status", async () => {
|
||||
it("fails to lists all orders with an invalid status", async () => {
|
||||
expect.assertions(3)
|
||||
const api = useApi()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user