New Heavy truck zip to keep error
This commit is contained in:
parent
d7566e5d60
commit
c781ccec80
2 changed files with 13 additions and 2 deletions
|
|
@ -18,7 +18,7 @@ const insuranceUnverifiedData: Partial<ITestData> = {
|
||||||
// Insurance claim flags
|
// Insurance claim flags
|
||||||
isPolicyFound: false,
|
isPolicyFound: false,
|
||||||
isPolicyUnverified: true,
|
isPolicyUnverified: true,
|
||||||
isRecalNotification: true,
|
isRecalVehicle: true,
|
||||||
|
|
||||||
// Override customer details with specific name and California location
|
// Override customer details with specific name and California location
|
||||||
customerDetails: {
|
customerDetails: {
|
||||||
|
|
|
||||||
|
|
@ -3,12 +3,23 @@ import { ITestData } from "@business-logic/types/ITestData"
|
||||||
import { VehicleDamage, AppointmentType } from "@business-logic/types/Enums";
|
import { VehicleDamage, AppointmentType } from "@business-logic/types/Enums";
|
||||||
import TestCase from "@business-logic/types/TestCase";
|
import TestCase from "@business-logic/types/TestCase";
|
||||||
import { getNextWeekday } from "@impl/utils/DateUtils";
|
import { getNextWeekday } from "@impl/utils/DateUtils";
|
||||||
import { defaultTestData } from "@business-logic/constants/DefaultTestData";
|
import { defaultTestData, getDefaultTestData } from "@business-logic/constants/DefaultTestData";
|
||||||
|
|
||||||
// Heavy Truck (alert) Test Data
|
// Heavy Truck (alert) Test Data
|
||||||
const heavyTruckData: Partial<ITestData> = {
|
const heavyTruckData: Partial<ITestData> = {
|
||||||
...defaultTestData, // Start with all defaults
|
...defaultTestData, // Start with all defaults
|
||||||
|
|
||||||
|
|
||||||
|
isHeavyTruck: true, // Flag for heavy truck vehicle
|
||||||
|
|
||||||
|
customerDetails: {
|
||||||
|
...getDefaultTestData().customerDetails!,
|
||||||
|
address: {
|
||||||
|
...getDefaultTestData().customerDetails!.address,
|
||||||
|
postalCode: '21237'
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
// Override specific fields with test-specific data
|
// Override specific fields with test-specific data
|
||||||
vehicleDetails: {
|
vehicleDetails: {
|
||||||
...defaultTestData.vehicleDetails!,
|
...defaultTestData.vehicleDetails!,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue