diff --git a/src/store/index.js b/src/store/index.js index 7e548cf8..10d69373 100644 --- a/src/store/index.js +++ b/src/store/index.js @@ -1229,8 +1229,6 @@ export const useMainStore = defineStore({ return response; } - applicationUser.experiments = data.applicationUser?.experiments ?? []; - if (order.policy.policyLookupSuccessful) { order.customer.emailAddress = data.customer?.emailAddress; order.customer.firstName = data.customer?.firstName; diff --git a/src/store/store.spec.js b/src/store/store.spec.js index 2c4525bf..736b9cbf 100644 --- a/src/store/store.spec.js +++ b/src/store/store.spec.js @@ -1032,20 +1032,6 @@ describe('Store', () => { // Asserts await expect(result).resolves.toBe(response.data); }); - it('sets expected application user data', async () => { - // Arrange - globalMethods.callHttpClient = jest.fn().mockReturnValue(Promise.resolve(fullApiResponse)); - const duplicate = { - referralNumber: getRandomString(6, 6), - referralCorrelationId: getRandomGuid() - }; - - // Act - await store.loadSession(duplicate); - - // Asserts - expect(store.applicationUser.experiments).toEqual(applicationUser.experiments); - }); it('sets expected vehicle data', async () => { // Arrange globalMethods.callHttpClient = jest.fn().mockReturnValue(Promise.resolve(fullApiResponse));