remove isInsurance
This commit is contained in:
parent
1592343cdb
commit
57618c1ea2
1 changed files with 0 additions and 5 deletions
|
|
@ -752,10 +752,8 @@ describe('Store', () => {
|
||||||
])('calls api with expected payment', async (coverageStatus) => {
|
])('calls api with expected payment', async (coverageStatus) => {
|
||||||
// Arrange
|
// Arrange
|
||||||
const parentAccountNumber = getRandomString(6, 6);
|
const parentAccountNumber = getRandomString(6, 6);
|
||||||
const isInsurance = getRandomBoolean();
|
|
||||||
const isVerified = getRandomBoolean();
|
const isVerified = getRandomBoolean();
|
||||||
store.issConfig.parentAccountNumber = parentAccountNumber;
|
store.issConfig.parentAccountNumber = parentAccountNumber;
|
||||||
store.order.payment.isInsurance = isInsurance;
|
|
||||||
store.order.payment.insuranceCoverage.isVerified = isVerified;
|
store.order.payment.insuranceCoverage.isVerified = isVerified;
|
||||||
store.order.payment.insuranceCoverage.coverageStatus = coverageStatus;
|
store.order.payment.insuranceCoverage.coverageStatus = coverageStatus;
|
||||||
globalMethods.callHttpClient = jest.fn().mockReturnValue(Promise.resolve({}));
|
globalMethods.callHttpClient = jest.fn().mockReturnValue(Promise.resolve({}));
|
||||||
|
|
@ -771,7 +769,6 @@ describe('Store', () => {
|
||||||
isVerified,
|
isVerified,
|
||||||
coverageStatus
|
coverageStatus
|
||||||
}),
|
}),
|
||||||
isInsurance,
|
|
||||||
parentAccountNumber
|
parentAccountNumber
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
@ -1056,7 +1053,6 @@ describe('Store', () => {
|
||||||
coverageStatus: getRandomString(6, 6),
|
coverageStatus: getRandomString(6, 6),
|
||||||
claimNumber: getRandomString(6, 6)
|
claimNumber: getRandomString(6, 6)
|
||||||
},
|
},
|
||||||
isInsurance: getRandomString(6, 6),
|
|
||||||
parentAccountNumber: getRandomString(6, 6)
|
parentAccountNumber: getRandomString(6, 6)
|
||||||
};
|
};
|
||||||
const schedule = {
|
const schedule = {
|
||||||
|
|
@ -1270,7 +1266,6 @@ describe('Store', () => {
|
||||||
await store.loadSession();
|
await store.loadSession();
|
||||||
|
|
||||||
// Asserts
|
// Asserts
|
||||||
expect(store.order.payment.isInsurance).toBe(payment.isInsurance);
|
|
||||||
expect(store.order.payment.insuranceCoverage.isVerified).toBe(payment.insuranceCoverage.isVerified);
|
expect(store.order.payment.insuranceCoverage.isVerified).toBe(payment.insuranceCoverage.isVerified);
|
||||||
expect(store.order.payment.insuranceCoverage.coverageStatus).toBe(payment.insuranceCoverage.coverageStatus);
|
expect(store.order.payment.insuranceCoverage.coverageStatus).toBe(payment.insuranceCoverage.coverageStatus);
|
||||||
expect(store.order.payment.parentAccountNumber).toBe(payment.parentAccountNumber);
|
expect(store.order.payment.parentAccountNumber).toBe(payment.parentAccountNumber);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue