From c48f5f013e23a3a6ceef4040e6c991ced452dfa0 Mon Sep 17 00:00:00 2001 From: Mariia Lukianets Date: Mon, 24 Jun 2024 12:18:50 +0200 Subject: [PATCH] =?UTF-8?q?Revert=20"MWPW-141119:=20Change=20default=20pri?= =?UTF-8?q?cing=20for=20Africa=20site=20to=20fix=20broken=20pri=E2=80=A6"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit 4378d35fb6bf754f071234dd2e10f2ba0d24c6cc. --- 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 87b321d5..01106364 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: 'MU_en', + africa: 'ZA_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 f076fde9..017adbfa 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_MU' }, + { prefix: '/africa', expectedLocale: 'en_ZA' }, { prefix: '', expectedLocale: 'en_US' }, { prefix: '/ae_ar', expectedLocale: 'ar_AE' }, ].forEach(({ prefix, expectedLocale }) => {