Skip to content

Commit

Permalink
MWPW-141119: Change default pricing for Africa site to fix broken pri…
Browse files Browse the repository at this point in the history
…ces/promos (#3)

* Update settings.js

* Update Test

---------

Co-authored-by: Rahul Gupta <rahulgup@adobe.com>
  • Loading branch information
rahulgupta999 and Rahul Gupta authored Jun 24, 2024
1 parent ecf0570 commit 4378d35
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion commerce/src/settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
2 changes: 1 addition & 1 deletion commerce/test/settings.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 }) => {
Expand Down

0 comments on commit 4378d35

Please sign in to comment.