From e88890af0c1a08b5438290dc998432f683fde96b Mon Sep 17 00:00:00 2001 From: Bozo Jovicic Date: Fri, 21 Feb 2025 14:01:11 +0100 Subject: [PATCH] MWPW-166076 Update a.com Business plans page CTAs to point to CME-1 M7 Business plans page --- test/utils/utils.test.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/utils/utils.test.js b/test/utils/utils.test.js index 4110529fe4..d6a4de3e3f 100644 --- a/test/utils/utils.test.js +++ b/test/utils/utils.test.js @@ -442,7 +442,8 @@ describe('Utils', () => { it('Converts business plans link to M7 link for IMS user', async () => { const buIms = window.adobeIMS; - window.adobeIMS = { getProfile: () => {return { countryCode: 'CH' }}, isSignedInUser: () => true }; + const profile = { countryCode: 'CH' }; + window.adobeIMS = { getProfile: () => profile, isSignedInUser: () => true }; const m7Link = await utils.generateM7Link(); expect(m7Link).to.equal('https://commerce.adobe.com/store/segmentation?cli=adobe_com&co=CH&pa=ccsn_direct_individual&cs=t&af=uc_segmentation_hide_tabs'); window.adobeIMS = buIms;