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]
|
||||
])('calls api with expected payment', (coverageStatus) => {
|
||||
// Arrange
|
||||
const accountNumber = getRandomString(6, 6);
|
||||
const parentAccountNumber = getRandomString(6, 6);
|
||||
const payment = {
|
||||
isInsurance: getRandomBoolean(),
|
||||
insuranceCoverage: {
|
||||
|
|
@ -751,7 +751,7 @@ describe('Store', () => {
|
|||
coverageStatus
|
||||
}
|
||||
};
|
||||
store.issConfig.parentAccountNumber = accountNumber;
|
||||
store.issConfig.parentAccountNumber = parentAccountNumber;
|
||||
store.order.payment = payment;
|
||||
globalMethods.callHttpClient = jest.fn().mockReturnValue(Promise.resolve({}));
|
||||
|
||||
|
|
@ -768,7 +768,7 @@ describe('Store', () => {
|
|||
coverageStatus: coverageStatus
|
||||
}),
|
||||
isInsurance: payment.isInsurance,
|
||||
parentAccountNumber: accountNumber
|
||||
parentAccountNumber: parentAccountNumber
|
||||
})
|
||||
})
|
||||
})
|
||||
|
|
|
|||
Loading…
Reference in a new issue