From a8aca2f60a41e7322fe2c9ee97e5aacb5cbcfd2f Mon Sep 17 00:00:00 2001 From: AndyEPhipps Date: Mon, 13 Mar 2023 16:54:04 +0000 Subject: [PATCH] Update config and tests --- src/config/site.json | 6 +++--- tests/feature/submit/marketingPreferencesData.js | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/config/site.json b/src/config/site.json index 991f7360..e06fdc56 100644 --- a/src/config/site.json +++ b/src/config/site.json @@ -9,7 +9,7 @@ "menu_tye": "comicrelief", "campaign": { "id": "General", - "name": "YRW" + "name": "RND23" }, "GTM": { "id": "GTM-TC9H9D", @@ -30,7 +30,7 @@ "menu_tye": "sportrelief", "campaign": { "id": "General", - "name": "YRW" + "name": "RND23" }, "GTM": { "id": "GTM-TC9H9D", @@ -51,7 +51,7 @@ "menu_tye": "comicrelief", "campaign": { "id": "General", - "name": "YRW" + "name": "RND23" }, "GTM": { "id": "GTM-TC9H9D", diff --git a/tests/feature/submit/marketingPreferencesData.js b/tests/feature/submit/marketingPreferencesData.js index 9f652d52..b055d603 100644 --- a/tests/feature/submit/marketingPreferencesData.js +++ b/tests/feature/submit/marketingPreferencesData.js @@ -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'); @@ -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');