From ba6172c599e20cc4356f7cab751046267bf2970e Mon Sep 17 00:00:00 2001 From: pearl-truss Date: Fri, 10 May 2024 15:50:24 -0400 Subject: [PATCH] edit expected shape of state programs in mocks and tests --- .../app-api/src/emailer/templateHelpers.test.ts | 2 ++ .../app-api/src/testHelpers/emailerHelpers.ts | 6 ++++++ services/app-api/src/testHelpers/gqlHelpers.ts | 2 ++ .../src/mutations/createHealthPlanPackage.graphql | 1 + .../src/mutations/createQuestionResponse.graphql | 1 + .../src/mutations/submitContract.graphql | 2 ++ .../app-graphql/src/mutations/submitRate.graphql | 1 + .../src/mutations/unlockHealthPlanPackage.graphql | 1 + .../app-graphql/src/mutations/unlockRate.graphql | 1 + .../src/mutations/updateCMSUser.graphql | 1 + .../src/mutations/updateContract.graphql | 1 + .../mutations/updateHealthPlanFormData.graphql | 1 + .../app-graphql/src/queries/fetchContract.graphql | 2 ++ .../src/queries/fetchCurrentUser.graphql | 2 ++ .../src/queries/fetchHealthPlanPackage.graphql | 1 + .../fetchHealthPlanPackageWithQuestions.graphql | 3 +++ .../app-graphql/src/queries/fetchRate.graphql | 1 + .../src/queries/indexHealthPlanPackages.graphql | 1 + .../src/queries/indexQuestions.graphql | 2 ++ .../app-graphql/src/queries/indexRates.graphql | 1 + .../app-graphql/src/queries/indexUsers.graphql | 2 ++ .../healthPlanFormDataMocks/healthPlanFormData.ts | 4 ++++ .../ChangeHistory/ChangeHistory.test.tsx | 1 + .../Header/PageHeadingRow/PageHeadingRow.test.tsx | 4 ++++ .../HealthPlanPackageTable.stories.tsx | 4 ++++ .../HealthPlanPackageTable.test.tsx | 6 ++++++ .../pages/StateDashboard/StateDashboard.test.tsx | 4 ++++ .../RateDetails/RateDetails.test.tsx | 3 +++ .../SubmissionType/SubmissionType.test.tsx | 15 +++++++++++++-- .../Wrapper/AuthenticatedRouteWrapper.test.tsx | 4 ++++ .../src/testHelpers/apolloMocks/stateMock.ts | 4 ++++ services/cypress/utils/apollo-test-utils.ts | 12 ++++++++---- 32 files changed, 90 insertions(+), 6 deletions(-) diff --git a/services/app-api/src/emailer/templateHelpers.test.ts b/services/app-api/src/emailer/templateHelpers.test.ts index ef73a62e21..67b646154e 100644 --- a/services/app-api/src/emailer/templateHelpers.test.ts +++ b/services/app-api/src/emailer/templateHelpers.test.ts @@ -228,6 +228,7 @@ describe('findContractPrograms', () => { id: 'abbdf9b0-c49e-4c4c-bb6f-040cb7b51cce', name: 'CHIP', fullName: 'MN CHIP', + isRateProgram: false, }, ] @@ -243,6 +244,7 @@ describe('findContractPrograms', () => { id: 'unmatched-id', name: 'CHIP', fullName: 'MN CHIP', + isRateProgram: false, }, ] diff --git a/services/app-api/src/testHelpers/emailerHelpers.ts b/services/app-api/src/testHelpers/emailerHelpers.ts index d012f5d698..4b57697707 100644 --- a/services/app-api/src/testHelpers/emailerHelpers.ts +++ b/services/app-api/src/testHelpers/emailerHelpers.ts @@ -86,21 +86,25 @@ export function mockMNState(): State { id: 'abbdf9b0-c49e-4c4c-bb6f-040cb7b51cce', fullName: 'Special Needs Basic Care', name: 'SNBC', + isRateProgram: false, }, { id: 'd95394e5-44d1-45df-8151-1cc1ee66f100', fullName: 'Prepaid Medical Assistance Program', name: 'PMAP', + isRateProgram: false, }, { id: 'ea16a6c0-5fc6-4df8-adac-c627e76660ab', fullName: 'Minnesota Senior Care Plus ', name: 'MSC+', + isRateProgram: false, }, { id: '3fd36500-bf2c-47bc-80e8-e7aa417184c5', fullName: 'Minnesota Senior Health Options', name: 'MSHO', + isRateProgram: false, }, ], code: 'MN', @@ -115,11 +119,13 @@ export function mockMSState(): State { id: 'e0819153-5894-4153-937e-aad00ab01a8f', fullName: 'Mississippi Coordinated Access Network', name: 'MSCAN', + isRateProgram: false, }, { id: '36c54daf-7611-4a15-8c3b-cdeb3fd7e25a', fullName: 'CHIP', name: 'CHIP', + isRateProgram: false, }, ], code: 'MS', diff --git a/services/app-api/src/testHelpers/gqlHelpers.ts b/services/app-api/src/testHelpers/gqlHelpers.ts index a775bfe2c0..2c5c168a2a 100644 --- a/services/app-api/src/testHelpers/gqlHelpers.ts +++ b/services/app-api/src/testHelpers/gqlHelpers.ts @@ -53,6 +53,7 @@ function defaultFloridaProgram(): ProgramType { id: '5c10fe9f-bec9-416f-a20c-718b152ad633', name: 'MMA', fullName: 'Managed Medical Assistance Program ', + isRateProgram: false, } } @@ -61,6 +62,7 @@ function defaultFloridaRateProgram(): ProgramType { id: '3b8d8fa1-1fa6-4504-9c5b-ef522877fe1e', fullName: 'Long-term Care Program', name: 'LTC', + isRateProgram: false, } } diff --git a/services/app-graphql/src/mutations/createHealthPlanPackage.graphql b/services/app-graphql/src/mutations/createHealthPlanPackage.graphql index 991dfffea5..3a9f7040f9 100644 --- a/services/app-graphql/src/mutations/createHealthPlanPackage.graphql +++ b/services/app-graphql/src/mutations/createHealthPlanPackage.graphql @@ -11,6 +11,7 @@ mutation createHealthPlanPackage($input: CreateHealthPlanPackageInput!) { id name fullName + isRateProgram } } status diff --git a/services/app-graphql/src/mutations/createQuestionResponse.graphql b/services/app-graphql/src/mutations/createQuestionResponse.graphql index 3b12555e21..d90fe06082 100644 --- a/services/app-graphql/src/mutations/createQuestionResponse.graphql +++ b/services/app-graphql/src/mutations/createQuestionResponse.graphql @@ -38,6 +38,7 @@ mutation createQuestionResponse($input: CreateQuestionResponseInput!) { id name fullName + isRateProgram } } } diff --git a/services/app-graphql/src/mutations/submitContract.graphql b/services/app-graphql/src/mutations/submitContract.graphql index 281272d878..31022b7b29 100644 --- a/services/app-graphql/src/mutations/submitContract.graphql +++ b/services/app-graphql/src/mutations/submitContract.graphql @@ -41,6 +41,7 @@ fragment contractFields on Contract { id name fullName + isRateProgram } } @@ -61,6 +62,7 @@ fragment rateFields on Rate { id name fullName + isRateProgram } } status diff --git a/services/app-graphql/src/mutations/submitRate.graphql b/services/app-graphql/src/mutations/submitRate.graphql index 7732796823..8543faca06 100644 --- a/services/app-graphql/src/mutations/submitRate.graphql +++ b/services/app-graphql/src/mutations/submitRate.graphql @@ -13,6 +13,7 @@ mutation submitRate($input: SubmitRateInput!) { id name fullName + isRateProgram } } status diff --git a/services/app-graphql/src/mutations/unlockHealthPlanPackage.graphql b/services/app-graphql/src/mutations/unlockHealthPlanPackage.graphql index 5bbe7a0cbc..4e3144f3a4 100644 --- a/services/app-graphql/src/mutations/unlockHealthPlanPackage.graphql +++ b/services/app-graphql/src/mutations/unlockHealthPlanPackage.graphql @@ -10,6 +10,7 @@ mutation unlockHealthPlanPackage($input: UnlockHealthPlanPackageInput!) { id name fullName + isRateProgram } } status diff --git a/services/app-graphql/src/mutations/unlockRate.graphql b/services/app-graphql/src/mutations/unlockRate.graphql index fb1de4e6cd..5b9528bf14 100644 --- a/services/app-graphql/src/mutations/unlockRate.graphql +++ b/services/app-graphql/src/mutations/unlockRate.graphql @@ -141,6 +141,7 @@ mutation unlockRate($input: UnlockRateInput!) { id name fullName + isRateProgram } } status diff --git a/services/app-graphql/src/mutations/updateCMSUser.graphql b/services/app-graphql/src/mutations/updateCMSUser.graphql index ff27b3cf00..d3712cee5f 100644 --- a/services/app-graphql/src/mutations/updateCMSUser.graphql +++ b/services/app-graphql/src/mutations/updateCMSUser.graphql @@ -15,6 +15,7 @@ mutation updateCMSUser($input: UpdateCMSUserInput!) { id name fullName + isRateProgram } } divisionAssignment diff --git a/services/app-graphql/src/mutations/updateContract.graphql b/services/app-graphql/src/mutations/updateContract.graphql index c4b58ed3bb..99e18861b9 100644 --- a/services/app-graphql/src/mutations/updateContract.graphql +++ b/services/app-graphql/src/mutations/updateContract.graphql @@ -11,6 +11,7 @@ mutation updateContract($input: UpdateContractInput!) { id name fullName + isRateProgram } } status diff --git a/services/app-graphql/src/mutations/updateHealthPlanFormData.graphql b/services/app-graphql/src/mutations/updateHealthPlanFormData.graphql index c818d9df08..efff6a99bf 100644 --- a/services/app-graphql/src/mutations/updateHealthPlanFormData.graphql +++ b/services/app-graphql/src/mutations/updateHealthPlanFormData.graphql @@ -10,6 +10,7 @@ mutation updateHealthPlanFormData($input: UpdateHealthPlanFormDataInput!) { id name fullName + isRateProgram } } status diff --git a/services/app-graphql/src/queries/fetchContract.graphql b/services/app-graphql/src/queries/fetchContract.graphql index 0a7ee0f023..ef944df557 100644 --- a/services/app-graphql/src/queries/fetchContract.graphql +++ b/services/app-graphql/src/queries/fetchContract.graphql @@ -41,6 +41,7 @@ fragment contractFieldsFetchContract on Contract { id name fullName + isRateProgram } } @@ -61,6 +62,7 @@ fragment rateFields on Rate { id name fullName + isRateProgram } } status diff --git a/services/app-graphql/src/queries/fetchCurrentUser.graphql b/services/app-graphql/src/queries/fetchCurrentUser.graphql index abd7ebe90c..b17514ad11 100644 --- a/services/app-graphql/src/queries/fetchCurrentUser.graphql +++ b/services/app-graphql/src/queries/fetchCurrentUser.graphql @@ -13,6 +13,7 @@ query fetchCurrentUser { id name fullName + isRateProgram } } divisionAssignment @@ -30,6 +31,7 @@ query fetchCurrentUser { id name fullName + isRateProgram } } } diff --git a/services/app-graphql/src/queries/fetchHealthPlanPackage.graphql b/services/app-graphql/src/queries/fetchHealthPlanPackage.graphql index 41d397c62d..eea4b4a171 100644 --- a/services/app-graphql/src/queries/fetchHealthPlanPackage.graphql +++ b/services/app-graphql/src/queries/fetchHealthPlanPackage.graphql @@ -10,6 +10,7 @@ query fetchHealthPlanPackage($input: FetchHealthPlanPackageInput!) { id name fullName + isRateProgram } } status diff --git a/services/app-graphql/src/queries/fetchHealthPlanPackageWithQuestions.graphql b/services/app-graphql/src/queries/fetchHealthPlanPackageWithQuestions.graphql index 340c3222ea..439970bd2f 100644 --- a/services/app-graphql/src/queries/fetchHealthPlanPackageWithQuestions.graphql +++ b/services/app-graphql/src/queries/fetchHealthPlanPackageWithQuestions.graphql @@ -17,6 +17,7 @@ fragment questionEdgeFragment on QuestionEdge { id name fullName + isRateProgram } } } @@ -42,6 +43,7 @@ fragment questionEdgeFragment on QuestionEdge { id name fullName + isRateProgram } } } @@ -68,6 +70,7 @@ query fetchHealthPlanPackageWithQuestions($input: FetchHealthPlanPackageInput!) id name fullName + isRateProgram } } revisions { diff --git a/services/app-graphql/src/queries/fetchRate.graphql b/services/app-graphql/src/queries/fetchRate.graphql index f5dc643996..0aae917fe9 100644 --- a/services/app-graphql/src/queries/fetchRate.graphql +++ b/services/app-graphql/src/queries/fetchRate.graphql @@ -141,6 +141,7 @@ fragment rateFields on Rate { id name fullName + isRateProgram } } status diff --git a/services/app-graphql/src/queries/indexHealthPlanPackages.graphql b/services/app-graphql/src/queries/indexHealthPlanPackages.graphql index 2fa132bd6e..a96a4251bc 100644 --- a/services/app-graphql/src/queries/indexHealthPlanPackages.graphql +++ b/services/app-graphql/src/queries/indexHealthPlanPackages.graphql @@ -13,6 +13,7 @@ query indexHealthPlanPackages { id name fullName + isRateProgram } } status diff --git a/services/app-graphql/src/queries/indexQuestions.graphql b/services/app-graphql/src/queries/indexQuestions.graphql index 4ed303bae9..b0418528c9 100644 --- a/services/app-graphql/src/queries/indexQuestions.graphql +++ b/services/app-graphql/src/queries/indexQuestions.graphql @@ -17,6 +17,7 @@ fragment questionEdgeFragment on QuestionEdge { id name fullName + isRateProgram } } } @@ -42,6 +43,7 @@ fragment questionEdgeFragment on QuestionEdge { id name fullName + isRateProgram } } } diff --git a/services/app-graphql/src/queries/indexRates.graphql b/services/app-graphql/src/queries/indexRates.graphql index 653c3de58b..8557c2f5f9 100644 --- a/services/app-graphql/src/queries/indexRates.graphql +++ b/services/app-graphql/src/queries/indexRates.graphql @@ -15,6 +15,7 @@ query indexRates { id name fullName + isRateProgram } } status diff --git a/services/app-graphql/src/queries/indexUsers.graphql b/services/app-graphql/src/queries/indexUsers.graphql index 34d1f37c58..2479418fb5 100644 --- a/services/app-graphql/src/queries/indexUsers.graphql +++ b/services/app-graphql/src/queries/indexUsers.graphql @@ -16,6 +16,7 @@ query indexUsers { id name fullName + isRateProgram } } divisionAssignment @@ -33,6 +34,7 @@ query indexUsers { id name fullName + isRateProgram } } } diff --git a/services/app-web/src/common-code/healthPlanFormDataMocks/healthPlanFormData.ts b/services/app-web/src/common-code/healthPlanFormDataMocks/healthPlanFormData.ts index b0e4546a60..d84ec63e83 100644 --- a/services/app-web/src/common-code/healthPlanFormDataMocks/healthPlanFormData.ts +++ b/services/app-web/src/common-code/healthPlanFormDataMocks/healthPlanFormData.ts @@ -17,21 +17,25 @@ export function mockMNState(): State { id: 'abbdf9b0-c49e-4c4c-bb6f-040cb7b51cce', fullName: 'Special Needs Basic Care', name: 'SNBC', + isRateProgram: false, }, { id: 'd95394e5-44d1-45df-8151-1cc1ee66f100', fullName: 'Prepaid Medical Assistance Program', name: 'PMAP', + isRateProgram: false, }, { id: 'ea16a6c0-5fc6-4df8-adac-c627e76660ab', fullName: 'Minnesota Senior Care Plus ', name: 'MSC+', + isRateProgram: false, }, { id: '3fd36500-bf2c-47bc-80e8-e7aa417184c5', fullName: 'Minnesota Senior Health Options', name: 'MSHO', + isRateProgram: false }, ], code: 'MN', diff --git a/services/app-web/src/components/ChangeHistory/ChangeHistory.test.tsx b/services/app-web/src/components/ChangeHistory/ChangeHistory.test.tsx index 25cebdcb15..77021a1ee8 100644 --- a/services/app-web/src/components/ChangeHistory/ChangeHistory.test.tsx +++ b/services/app-web/src/components/ChangeHistory/ChangeHistory.test.tsx @@ -14,6 +14,7 @@ const submissionData: HealthPlanPackage = { id: 'd95394e5-44d1-45df-8151-1cc1ee66f100', fullName: 'Prepaid Medical Assistance Program', name: 'PMAP', + isRateProgram: false, }, ], }, diff --git a/services/app-web/src/components/Header/PageHeadingRow/PageHeadingRow.test.tsx b/services/app-web/src/components/Header/PageHeadingRow/PageHeadingRow.test.tsx index e94dcf94d5..6059678588 100644 --- a/services/app-web/src/components/Header/PageHeadingRow/PageHeadingRow.test.tsx +++ b/services/app-web/src/components/Header/PageHeadingRow/PageHeadingRow.test.tsx @@ -14,21 +14,25 @@ describe('Page Heading Row', () => { id: 'abbdf9b0-c49e-4c4c-bb6f-040cb7b51cce', fullName: 'Special Needs Basic Care', name: 'SNBC', + isRateProgram: false, }, { id: 'd95394e5-44d1-45df-8151-1cc1ee66f100', fullName: 'Prepaid Medical Assistance Program', name: 'PMAP', + isRateProgram: false, }, { id: 'ea16a6c0-5fc6-4df8-adac-c627e76660ab', fullName: 'Minnesota Senior Care Plus ', name: 'MSC+', + isRateProgram: false, }, { id: '3fd36500-bf2c-47bc-80e8-e7aa417184c5', fullName: 'Minnesota Senior Health Options', name: 'MSHO', + isRateProgram: false, }, ], }, diff --git a/services/app-web/src/components/HealthPlanPackageTable/HealthPlanPackageTable.stories.tsx b/services/app-web/src/components/HealthPlanPackageTable/HealthPlanPackageTable.stories.tsx index 2ae1454442..41665e58f4 100644 --- a/services/app-web/src/components/HealthPlanPackageTable/HealthPlanPackageTable.stories.tsx +++ b/services/app-web/src/components/HealthPlanPackageTable/HealthPlanPackageTable.stories.tsx @@ -17,6 +17,7 @@ const tableData: PackageInDashboardType[] = [ id: 'd95394e5-44d1-45df-8151-1cc1ee66f100', name: 'PMAP', fullName: 'Prepaid Medical Assistance Program', + isRateProgram: false, }, ], submittedAt: '2022-12-05', @@ -34,6 +35,7 @@ const tableData: PackageInDashboardType[] = [ id: 'd95394e5-44d1-45df-8151-1cc1ee66f100', name: 'PMAP', fullName: 'Prepaid Medical Assistance Program', + isRateProgram: false, }, ], submittedAt: '2022-11-05', @@ -51,6 +53,7 @@ const tableData: PackageInDashboardType[] = [ id: 'd95394e5-44d1-45df-8151-1cc1ee66f100', name: 'PMAP', fullName: 'Prepaid Medical Assistance Program', + isRateProgram: false, }, ], submittedAt: '2022-10-05', @@ -68,6 +71,7 @@ const tableData: PackageInDashboardType[] = [ id: 'd95394e5-44d1-45df-8151-1cc1ee66f100', name: 'PMAP', fullName: 'Prepaid Medical Assistance Program', + isRateProgram: false, }, ], submittedAt: '2022-09-05', diff --git a/services/app-web/src/components/HealthPlanPackageTable/HealthPlanPackageTable.test.tsx b/services/app-web/src/components/HealthPlanPackageTable/HealthPlanPackageTable.test.tsx index d60fa6b23b..47ebd9d9d5 100644 --- a/services/app-web/src/components/HealthPlanPackageTable/HealthPlanPackageTable.test.tsx +++ b/services/app-web/src/components/HealthPlanPackageTable/HealthPlanPackageTable.test.tsx @@ -19,6 +19,7 @@ const submissions: PackageInDashboardType[] = [ id: 'd95394e5-44d1-45df-8151-1cc1ee66f100', name: 'PMAP', fullName: 'Prepaid Medical Assistance Program', + isRateProgram: false, }, ], submittedAt: '2022-09-05', @@ -36,6 +37,7 @@ const submissions: PackageInDashboardType[] = [ id: 'd95394e5-44d1-45df-8151-1cc1ee66f100', name: 'PMAP', fullName: 'Prepaid Medical Assistance Program', + isRateProgram: false, }, ], submittedAt: '2022-12-05', @@ -53,18 +55,21 @@ const submissions: PackageInDashboardType[] = [ id: 'abbdf9b0-c49e-4c4c-bb6f-040cb7b51cce', fullName: 'Special Needs Basic Care', name: 'SNBC', + isRateProgram: false, }, { __typename: 'Program', id: 'd95394e5-44d1-45df-8151-1cc1ee66f100', name: 'PMAP', fullName: 'Prepaid Medical Assistance Program', + isRateProgram: false, }, { __typename: 'Program', id: 'ea16a6c0-5fc6-4df8-adac-c627e76660ab', fullName: 'Minnesota Senior Care Plus ', name: 'MSC+', + isRateProgram: false, }, ], submittedAt: '2022-11-05', @@ -82,6 +87,7 @@ const submissions: PackageInDashboardType[] = [ id: 'd95394e5-44d1-45df-8151-1cc1ee66f100', name: 'PMAP', fullName: 'Prepaid Medical Assistance Program', + isRateProgram: false, }, ], submittedAt: '2022-10-05', diff --git a/services/app-web/src/pages/StateDashboard/StateDashboard.test.tsx b/services/app-web/src/pages/StateDashboard/StateDashboard.test.tsx index 5a9fefcd3b..d37a8a3925 100644 --- a/services/app-web/src/pages/StateDashboard/StateDashboard.test.tsx +++ b/services/app-web/src/pages/StateDashboard/StateDashboard.test.tsx @@ -61,21 +61,25 @@ describe('StateDashboard', () => { id: 'abbdf9b0-c49e-4c4c-bb6f-040cb7b51cce', fullName: 'Special Needs Basic Care', name: 'SNBC', + isRateProgram: false, }, { id: 'd95394e5-44d1-45df-8151-1cc1ee66f100', fullName: 'Prepaid Medical Assistance Program', name: 'PMAP', + isRateProgram: false, }, { id: 'ea16a6c0-5fc6-4df8-adac-c627e76660ab', fullName: 'Minnesota Senior Care Plus ', name: 'MSC+', + isRateProgram: false, }, { id: '3fd36500-bf2c-47bc-80e8-e7aa417184c5', fullName: 'Minnesota Senior Health Options', name: 'MSHO', + isRateProgram: false, }, ], }, diff --git a/services/app-web/src/pages/StateSubmission/RateDetails/RateDetails.test.tsx b/services/app-web/src/pages/StateSubmission/RateDetails/RateDetails.test.tsx index 8c3aa6eee3..dd0c1e1dcb 100644 --- a/services/app-web/src/pages/StateSubmission/RateDetails/RateDetails.test.tsx +++ b/services/app-web/src/pages/StateSubmission/RateDetails/RateDetails.test.tsx @@ -330,16 +330,19 @@ describe('RateDetails', () => { id: 'first', name: 'Program 1', fullName: 'Program 1', + isRateProgram: false, }, { id: 'second', name: 'Program Test', fullName: 'Program Test', + isRateProgram: false, }, { id: 'third', name: 'Program 3', fullName: 'Program 3', + isRateProgram: false, }, ], }, diff --git a/services/app-web/src/pages/StateSubmission/SubmissionType/SubmissionType.test.tsx b/services/app-web/src/pages/StateSubmission/SubmissionType/SubmissionType.test.tsx index f907eae291..2d6056da3c 100644 --- a/services/app-web/src/pages/StateSubmission/SubmissionType/SubmissionType.test.tsx +++ b/services/app-web/src/pages/StateSubmission/SubmissionType/SubmissionType.test.tsx @@ -380,13 +380,24 @@ describe('SubmissionType', () => { name: 'Minnesota', code: 'MN', programs: [ - { id: 'first', name: 'Program 1', fullName: 'Program 1' }, + { + id: 'first', + name: 'Program 1', + fullName: 'Program 1', + isRateProgram: false, + }, { id: 'second', name: 'Program Test', fullName: 'Program Test', + isRateProgram: false, + }, + { + id: 'third', + name: 'Program 3', + fullName: 'Program 3', + isRateProgram: false, }, - { id: 'third', name: 'Program 3', fullName: 'Program 3' }, ], }, } diff --git a/services/app-web/src/pages/Wrapper/AuthenticatedRouteWrapper.test.tsx b/services/app-web/src/pages/Wrapper/AuthenticatedRouteWrapper.test.tsx index 45b9c9565c..5114dc717c 100644 --- a/services/app-web/src/pages/Wrapper/AuthenticatedRouteWrapper.test.tsx +++ b/services/app-web/src/pages/Wrapper/AuthenticatedRouteWrapper.test.tsx @@ -38,21 +38,25 @@ describe('AuthenticatedRouteWrapper', () => { id: 'abbdf9b0-c49e-4c4c-bb6f-040cb7b51cce', fullName: 'Special Needs Basic Care', name: 'SNBC', + isRateProgram: false, }, { id: 'd95394e5-44d1-45df-8151-1cc1ee66f100', fullName: 'Prepaid Medical Assistance Program', name: 'PMAP', + isRateProgram: false, }, { id: 'ea16a6c0-5fc6-4df8-adac-c627e76660ab', fullName: 'Minnesota Senior Care Plus ', name: 'MSC+', + isRateProgram: false, }, { id: '3fd36500-bf2c-47bc-80e8-e7aa417184c5', fullName: 'Minnesota Senior Health Options', name: 'MSHO', + isRateProgram: false, }, ], }, diff --git a/services/app-web/src/testHelpers/apolloMocks/stateMock.ts b/services/app-web/src/testHelpers/apolloMocks/stateMock.ts index f8427708c7..3715c4ead1 100644 --- a/services/app-web/src/testHelpers/apolloMocks/stateMock.ts +++ b/services/app-web/src/testHelpers/apolloMocks/stateMock.ts @@ -8,21 +8,25 @@ function mockMNState(): State { id: 'abbdf9b0-c49e-4c4c-bb6f-040cb7b51cce', fullName: 'Special Needs Basic Care', name: 'SNBC', + isRateProgram: false }, { id: 'd95394e5-44d1-45df-8151-1cc1ee66f100', fullName: 'Prepaid Medical Assistance Program', name: 'PMAP', + isRateProgram: false }, { id: 'ea16a6c0-5fc6-4df8-adac-c627e76660ab', fullName: 'Minnesota Senior Care Plus ', name: 'MSC+', + isRateProgram: false }, { id: '3fd36500-bf2c-47bc-80e8-e7aa417184c5', fullName: 'Minnesota Senior Health Options', name: 'MSHO', + isRateProgram: false }, ], code: 'MN', diff --git a/services/cypress/utils/apollo-test-utils.ts b/services/cypress/utils/apollo-test-utils.ts index 0db7246f14..7dc1e86e9c 100644 --- a/services/cypress/utils/apollo-test-utils.ts +++ b/services/cypress/utils/apollo-test-utils.ts @@ -45,22 +45,26 @@ const minnesotaStatePrograms =[ { "id": "abbdf9b0-c49e-4c4c-bb6f-040cb7b51cce", "fullName": "Special Needs Basic Care", - "name": "SNBC" + "name": "SNBC", + "isRateProgram": "false" }, { "id": "d95394e5-44d1-45df-8151-1cc1ee66f100", "fullName": "Prepaid Medical Assistance Program", - "name": "PMAP" + "name": "PMAP", + "isRateProgram": "false" }, { "id": "ea16a6c0-5fc6-4df8-adac-c627e76660ab", "fullName": "Minnesota Senior Care Plus ", - "name": "MSC+" + "name": "MSC+", + "isRateProgram": "false" }, { "id": "3fd36500-bf2c-47bc-80e8-e7aa417184c5", "fullName": "Minnesota Senior Health Options", - "name": "MSHO" + "name": "MSHO", + "isRateProgram": "false" } ]