Fixed unit test

This commit is contained in:
Leah Schumann 2023-06-27 09:26:31 -04:00
parent 41df561a67
commit b080e60a77
3 changed files with 11 additions and 11 deletions

View file

@ -305,13 +305,13 @@ export default {
await this.dispatchStoreAction( await this.dispatchStoreAction(
storeActions.SAVE_SERVICE_LOCATION, storeActions.SAVE_SERVICE_LOCATION,
{ {
address: null, address: "",
address2: null, address2: "",
city: null, city: "",
state: resultMap.serviceZipValidationResponse.state, state: resultMap.serviceZipValidationResponse.state,
zipCode: this.serviceZipCode, zipCode: this.serviceZipCode,
zipCodeCtu: resultMap.serviceZipValidationResponse.zipCodeCtu, zipCodeCtu: resultMap.serviceZipValidationResponse.zipCodeCtu,
appointmentType: null, appointmentType: "",
isVehicleProtected: null, isVehicleProtected: null,
}, },
false false

View file

@ -361,9 +361,9 @@ export default {
return store.getters.order.serviceLocation.provider; return store.getters.order.serviceLocation.provider;
}, },
resetMobileLocation() { resetMobileLocation() {
this.streetAddress = null; this.streetAddress = "";
this.apartmentNumberOrBusinessName = null; this.apartmentNumberOrBusinessName = "";
this.city = null; this.city = "";
this.isVehicleProtected = null; this.isVehicleProtected = null;
}, },

View file

@ -325,13 +325,13 @@ export default {
await this.dispatchStoreAction( await this.dispatchStoreAction(
storeActions.SAVE_SERVICE_ZIP_CODE_INFO, storeActions.SAVE_SERVICE_ZIP_CODE_INFO,
{ {
address: null, address: "",
address2: null, address2: "",
city: null, city: "",
state: resultMap.zipCodeData.state, state: resultMap.zipCodeData.state,
zipCode: this.serviceZipCode, zipCode: this.serviceZipCode,
zipCodeCtu: resultMap.zipCodeData.zipCodeCtu, zipCodeCtu: resultMap.zipCodeData.zipCodeCtu,
appointmentType: null, appointmentType: "",
isVehicleProtected: null, isVehicleProtected: null,
}, },
false false