From c65ffebe60a4e2509e5e9127cb2d23c60b84a821 Mon Sep 17 00:00:00 2001 From: AndyEPhipps Date: Fri, 4 Oct 2024 10:33:15 +0100 Subject: [PATCH] Update refs to campaign code --- .../tests/submit/marketingPreferencesData.spec.js | 4 ++-- src/config/site.json | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/playwright-staging/tests/submit/marketingPreferencesData.spec.js b/playwright-staging/tests/submit/marketingPreferencesData.spec.js index 140313c1..35d089c2 100644 --- a/playwright-staging/tests/submit/marketingPreferencesData.spec.js +++ b/playwright-staging/tests/submit/marketingPreferencesData.spec.js @@ -43,7 +43,7 @@ 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); @@ -51,7 +51,7 @@ test('Verify giftaid marketing preferences data in contact-store @sanity @nightl 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'); diff --git a/src/config/site.json b/src/config/site.json index dd444f53..b317081d 100644 --- a/src/config/site.json +++ b/src/config/site.json @@ -9,7 +9,7 @@ "menu_tye": "comicrelief", "campaign": { "id": "General", - "name": "RND24" + "name": "RND25" }, "GTM": { "id": "GTM-TC9H9D", @@ -30,7 +30,7 @@ "menu_tye": "sportrelief", "campaign": { "id": "General", - "name": "RND24" + "name": "RND25" }, "GTM": { "id": "GTM-TC9H9D", @@ -51,7 +51,7 @@ "menu_tye": "comicrelief", "campaign": { "id": "General", - "name": "RND24" + "name": "RND25" }, "GTM": { "id": "GTM-TC9H9D",