Skip to content

Commit

Permalink
Issue-66: Change : to - in keys in Topics, Persons, and Audience.
Browse files Browse the repository at this point in the history
  • Loading branch information
naveenvalecha committed Jun 26, 2024
1 parent 5d800d8 commit 0fd4fae
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions cypress/e2e/profilers/location_country.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ describe('Location country Profiler: Test 01', () => {
})
cy.getLocalStorage('location_zone')
.then($location_zone => {
expect($location_zone).to.equal('zone:australia')
expect($location_zone).to.equal('-australia')
})
// Set the location country cookie.
cy.setCookie('cp_country', 'IN', {
Expand All @@ -25,7 +25,7 @@ describe('Location country Profiler: Test 01', () => {
})
cy.getLocalStorage('location_zone')
.then($location_zone => {
expect($location_zone).to.equal('zone:international')
expect($location_zone).to.equal('zone-international')
})
})
});
8 changes: 4 additions & 4 deletions example/profiler.js
Original file line number Diff line number Diff line change
Expand Up @@ -1244,11 +1244,11 @@ window.drupalSettings.convivialProfiler = {
{
"type": "map",
"storage_key": "location_zone",
"default_value": "zone:australia",
"fallback_value": "zone:international",
"default_value": "zone-australia",
"fallback_value": "zone-international",
"mappings": [
"Australia|zone:australia",
"AU|zone:australia"
"Australia|zone-australia",
"AU|zone-australia"
]
}
],
Expand Down

0 comments on commit 0fd4fae

Please sign in to comment.