feat(medusa): Improve add line item to cart perf and transaction management + clustering start command (#5701)
This commit is contained in:
committed by
GitHub
parent
a458cd144d
commit
6975eacb33
@@ -145,27 +145,23 @@ module.exports = async (dataSource, data = {}) => {
|
||||
name: "Test Region",
|
||||
currency_code: "usd",
|
||||
tax_rate: 0,
|
||||
payment_providers: [
|
||||
{
|
||||
id: "test-pay",
|
||||
is_installed: true,
|
||||
},
|
||||
],
|
||||
})
|
||||
|
||||
await manager.query(
|
||||
`insert into region_payment_providers values ('test-region', 'test-pay');`
|
||||
)
|
||||
|
||||
await manager.insert(Region, {
|
||||
id: "test-region-2",
|
||||
name: "Test Region 2",
|
||||
currency_code: "eur",
|
||||
tax_rate: 0,
|
||||
payment_providers: [
|
||||
{
|
||||
id: "test-pay",
|
||||
is_installed: true,
|
||||
},
|
||||
],
|
||||
})
|
||||
|
||||
await manager.query(
|
||||
`insert into region_payment_providers values ('test-region-2', 'test-pay');`
|
||||
)
|
||||
|
||||
await manager.insert(DiscountRule, {
|
||||
id: "discount_rule_id",
|
||||
description: "test description",
|
||||
|
||||
Reference in New Issue
Block a user