Skip to content

Commit

Permalink
Update config and tests
Browse files Browse the repository at this point in the history
  • Loading branch information
AndyEPhipps committed Mar 13, 2023
1 parent 0ca7749 commit a8aca2f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions src/config/site.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"menu_tye": "comicrelief",
"campaign": {
"id": "General",
"name": "YRW"
"name": "RND23"
},
"GTM": {
"id": "GTM-TC9H9D",
Expand All @@ -30,7 +30,7 @@
"menu_tye": "sportrelief",
"campaign": {
"id": "General",
"name": "YRW"
"name": "RND23"
},
"GTM": {
"id": "GTM-TC9H9D",
Expand All @@ -51,7 +51,7 @@
"menu_tye": "comicrelief",
"campaign": {
"id": "General",
"name": "YRW"
"name": "RND23"
},
"GTM": {
"id": "GTM-TC9H9D",
Expand Down
4 changes: 2 additions & 2 deletions tests/feature/submit/marketingPreferencesData.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ module.exports = {
const { data: { data } } = response;

client.assert.equal(response.status, 200, '200 OK');
client.assert.equal(data.campaign, 'YRW', 'campaignCode');
client.assert.equal(data.campaign, 'RND23', 'campaignCode');
client.assert.equal(data.firstname, testData.firstName, 'firstName');
client.assert.equal(data.lastname, testData.lastName, 'lastName');
client.assert.equal(data.email, email, 'email');
Expand All @@ -93,7 +93,7 @@ module.exports = {
client.assert.equal(data.address3, testData.address3, 'address3');
client.assert.equal(data.town, testData.town, 'town');
client.assert.equal(data.country, testData.country, 'country');
client.assert.equal(data.transsource, 'YRW_GiftAid', 'transsource');
client.assert.equal(data.transsource, 'RND23_GiftAid', 'transsource');
client.assert.equal(data.transsourceurl, process.env.BASE_URL, 'transsourceurl');
client.assert.equal(data.transtype, 'prefs', 'transtype');
client.assert.equal(data.permissionemail, '1', 'permissionemail');
Expand Down

0 comments on commit a8aca2f

Please sign in to comment.