Skip to content

Commit

Permalink
Update refs to campaign code
Browse files Browse the repository at this point in the history
  • Loading branch information
AndyEPhipps committed Oct 4, 2024
1 parent 9b8a090 commit c65ffeb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,15 +43,15 @@ test('Verify giftaid marketing preferences data in contact-store @sanity @nightl
// Retrieve and verify marketing preferences data
const mpData = await MarketingPrefsVerify.get(email);

expect(mpData.campaign).toEqual('RND24');
expect(mpData.campaign).toEqual('RND25');
expect(mpData.firstname).toEqual(firstName);
expect(mpData.lastname).toEqual(lastName);
expect(mpData.email).toEqual(email);
expect(mpData.address1).toEqual(address1);
expect(mpData.town).toEqual(town);
expect(mpData.country).toEqual('GB');
expect(mpData.transsourceurl).toContain(process.env.BASE_URL);
expect(mpData.transsource).toEqual('RND24_GiftAid');
expect(mpData.transsource).toEqual('RND25_GiftAid');
expect(mpData.transtype).toEqual('prefs');
expect(mpData.permissionemail).toEqual('1');
expect(mpData.permissionsms).toEqual('1');
Expand Down
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": "RND24"
"name": "RND25"
},
"GTM": {
"id": "GTM-TC9H9D",
Expand All @@ -30,7 +30,7 @@
"menu_tye": "sportrelief",
"campaign": {
"id": "General",
"name": "RND24"
"name": "RND25"
},
"GTM": {
"id": "GTM-TC9H9D",
Expand All @@ -51,7 +51,7 @@
"menu_tye": "comicrelief",
"campaign": {
"id": "General",
"name": "RND24"
"name": "RND25"
},
"GTM": {
"id": "GTM-TC9H9D",
Expand Down

0 comments on commit c65ffeb

Please sign in to comment.