remove isInsurance

This commit is contained in:
Michaela Brydon 2023-10-16 14:41:30 -04:00
parent 1592343cdb
commit 57618c1ea2

View file

@ -752,10 +752,8 @@ describe('Store', () => {
])('calls api with expected payment', async (coverageStatus) => {
// Arrange
const parentAccountNumber = getRandomString(6, 6);
const isInsurance = getRandomBoolean();
const isVerified = getRandomBoolean();
store.issConfig.parentAccountNumber = parentAccountNumber;
store.order.payment.isInsurance = isInsurance;
store.order.payment.insuranceCoverage.isVerified = isVerified;
store.order.payment.insuranceCoverage.coverageStatus = coverageStatus;
globalMethods.callHttpClient = jest.fn().mockReturnValue(Promise.resolve({}));
@ -771,7 +769,6 @@ describe('Store', () => {
isVerified,
coverageStatus
}),
isInsurance,
parentAccountNumber
})
})
@ -1056,7 +1053,6 @@ describe('Store', () => {
coverageStatus: getRandomString(6, 6),
claimNumber: getRandomString(6, 6)
},
isInsurance: getRandomString(6, 6),
parentAccountNumber: getRandomString(6, 6)
};
const schedule = {
@ -1270,7 +1266,6 @@ describe('Store', () => {
await store.loadSession();
// Asserts
expect(store.order.payment.isInsurance).toBe(payment.isInsurance);
expect(store.order.payment.insuranceCoverage.isVerified).toBe(payment.insuranceCoverage.isVerified);
expect(store.order.payment.insuranceCoverage.coverageStatus).toBe(payment.insuranceCoverage.coverageStatus);
expect(store.order.payment.parentAccountNumber).toBe(payment.parentAccountNumber);