feat: Add currency module and remove currency models from region and pricing modules (#6536)

What:
- Creates a new currency module
- Removes currency model from the pricing module
- Removes currency model from region module
This commit is contained in:
Stevche Radevski
2024-02-29 15:09:59 +00:00
committed by GitHub
parent 06f706a51a
commit dc025302a1
102 changed files with 1502 additions and 2128 deletions
@@ -63,7 +63,7 @@ describe("Carts workflows", () => {
beforeEach(async () => {
await adminSeeder(dbConnection)
await regionModuleService.createDefaultCountriesAndCurrencies()
await regionModuleService.createDefaultCountries()
// Here, so we don't have to create a region for each test
defaultRegion = await regionModuleService.create({
@@ -59,7 +59,7 @@ describe("Store Carts API", () => {
beforeEach(async () => {
await adminSeeder(dbConnection)
await regionModuleService.createDefaultCountriesAndCurrencies()
await regionModuleService.createDefaultCountries()
// Here, so we don't have to create a region for each test
defaultRegion = await regionModuleService.create({