store.spec test update for parent account number.
This commit is contained in:
parent
f990980ab5
commit
0c21329f8c
1 changed files with 3 additions and 3 deletions
|
|
@ -743,7 +743,7 @@ describe('Store', () => {
|
||||||
[coverageStatuses.VERIFIED]
|
[coverageStatuses.VERIFIED]
|
||||||
])('calls api with expected payment', (coverageStatus) => {
|
])('calls api with expected payment', (coverageStatus) => {
|
||||||
// Arrange
|
// Arrange
|
||||||
const accountNumber = getRandomString(6, 6);
|
const parentAccountNumber = getRandomString(6, 6);
|
||||||
const payment = {
|
const payment = {
|
||||||
isInsurance: getRandomBoolean(),
|
isInsurance: getRandomBoolean(),
|
||||||
insuranceCoverage: {
|
insuranceCoverage: {
|
||||||
|
|
@ -751,7 +751,7 @@ describe('Store', () => {
|
||||||
coverageStatus
|
coverageStatus
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
store.issConfig.parentAccountNumber = accountNumber;
|
store.issConfig.parentAccountNumber = parentAccountNumber;
|
||||||
store.order.payment = payment;
|
store.order.payment = payment;
|
||||||
globalMethods.callHttpClient = jest.fn().mockReturnValue(Promise.resolve({}));
|
globalMethods.callHttpClient = jest.fn().mockReturnValue(Promise.resolve({}));
|
||||||
|
|
||||||
|
|
@ -768,7 +768,7 @@ describe('Store', () => {
|
||||||
coverageStatus: coverageStatus
|
coverageStatus: coverageStatus
|
||||||
}),
|
}),
|
||||||
isInsurance: payment.isInsurance,
|
isInsurance: payment.isInsurance,
|
||||||
parentAccountNumber: accountNumber
|
parentAccountNumber: parentAccountNumber
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue