Update payment method to match test name
This commit is contained in:
parent
82602ea348
commit
e6627f86f3
1 changed files with 2 additions and 2 deletions
|
|
@ -23,7 +23,7 @@ const customerDetails: ICustomerDetails = {
|
|||
}
|
||||
}
|
||||
|
||||
const policyNumber = `~AutomatedScenario0001a${faker.string.uuid().substring(0, 6)}`;
|
||||
const policyNumber = `~AutomatedScenario0001a${crypto.randomUUID().replace(/-/g, '').slice(0, 16).toUpperCase()}`; // Ensure unique policy number for each test run since same key in request can cause 500 error
|
||||
const policySoap = MockPolicyData.getPolicySoapByScenario('0001a', customerDetails, policyNumber);
|
||||
|
||||
const advancedScenario0001Data: Partial<ITestData> = {
|
||||
|
|
@ -60,7 +60,7 @@ const advancedScenario0001Data: Partial<ITestData> = {
|
|||
shopAddress: undefined,
|
||||
appointmentDate: nextWeekday
|
||||
},
|
||||
paymentDetails: ClientData.getDefaultPaypalDetails()//ClientData.getDefaultCreditCardDetails()
|
||||
paymentDetails: ClientData.getDefaultCreditCardDetails()
|
||||
}
|
||||
|
||||
// TODO: Add validation for deductible/covered amount
|
||||
|
|
|
|||
Loading…
Reference in a new issue