From 4378d35fb6bf754f071234dd2e10f2ba0d24c6cc Mon Sep 17 00:00:00 2001 From: Rahul Gupta Date: Mon, 24 Jun 2024 14:26:42 +0530 Subject: [PATCH] MWPW-141119: Change default pricing for Africa site to fix broken prices/promos (#3) * Update settings.js * Update Test --------- Co-authored-by: Rahul Gupta --- commerce/src/settings.js | 2 +- commerce/test/settings.test.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/commerce/src/settings.js b/commerce/src/settings.js index 01106364..87b321d5 100644 --- a/commerce/src/settings.js +++ b/commerce/src/settings.js @@ -30,7 +30,7 @@ const GeoMap = { la: 'DO_es', mx: 'MX_es', pe: 'PE_es', - africa: 'ZA_en', + africa: 'MU_en', dk: 'DK_da', de: 'DE_de', ee: 'EE_et', diff --git a/commerce/test/settings.test.js b/commerce/test/settings.test.js index 017adbfa..f076fde9 100644 --- a/commerce/test/settings.test.js +++ b/commerce/test/settings.test.js @@ -114,7 +114,7 @@ describe('getSettings', () => { [ { prefix: '/ar', expectedLocale: 'es_AR' }, - { prefix: '/africa', expectedLocale: 'en_ZA' }, + { prefix: '/africa', expectedLocale: 'en_MU' }, { prefix: '', expectedLocale: 'en_US' }, { prefix: '/ae_ar', expectedLocale: 'ar_AE' }, ].forEach(({ prefix, expectedLocale }) => {