Merge pull request #2066 from Safelite/feature/CSR-2304
CSR-2304 swap address & address2 places
This commit is contained in:
commit
f2a07535b6
2 changed files with 3 additions and 7 deletions
|
|
@ -237,7 +237,7 @@ describe("computed properties...", () => {
|
||||||
const testValue = wrapper.vm.AppointmentWordingText;
|
const testValue = wrapper.vm.AppointmentWordingText;
|
||||||
|
|
||||||
// Assert
|
// Assert
|
||||||
expect(testValue).toEqual("wording Text 123, test,<br/> test, AZ 12345");
|
expect(testValue).toEqual("wording Text test, 123,<br/> test, AZ 12345");
|
||||||
});
|
});
|
||||||
test("AppointmentWordingText should return DROP_OFF text in expected format.", () => {
|
test("AppointmentWordingText should return DROP_OFF text in expected format.", () => {
|
||||||
//Arrange
|
//Arrange
|
||||||
|
|
@ -419,7 +419,7 @@ describe("computed properties...", () => {
|
||||||
const testValue = wrapper.vm.ServiceLocationFullAddress;
|
const testValue = wrapper.vm.ServiceLocationFullAddress;
|
||||||
|
|
||||||
// Assert
|
// Assert
|
||||||
expect(testValue).toEqual("123, test,<br/> test, AZ 12345");
|
expect(testValue).toEqual("test, 123,<br/> test, AZ 12345");
|
||||||
});
|
});
|
||||||
test("ProviderFullAddress should return text in expected format.", () => {
|
test("ProviderFullAddress should return text in expected format.", () => {
|
||||||
//Arrange
|
//Arrange
|
||||||
|
|
|
||||||
|
|
@ -314,11 +314,7 @@ export default {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
ServiceLocationFullAddress() {
|
ServiceLocationFullAddress() {
|
||||||
return `${this.ServiceLocationAddress2 ? this.ServiceLocationAddress2 + "," : ""} ${
|
return `${this.ServiceLocationAddress}${this.ServiceLocationAddress2 ? ", " + this.ServiceLocationAddress2 : ""},<br/> ${this.ServiceLocationCity}, ${this.ServiceLocationState} ${this.ServiceLocationZipCode}`;
|
||||||
this.ServiceLocationAddress
|
|
||||||
},<br/> ${this.ServiceLocationCity}, ${this.ServiceLocationState} ${
|
|
||||||
this.ServiceLocationZipCode
|
|
||||||
}`;
|
|
||||||
},
|
},
|
||||||
ProviderFullAddress() {
|
ProviderFullAddress() {
|
||||||
return `${this.ProviderAddress},<br/> ${this.ProviderCity}, ${this.ProviderState} ${this.ProviderZipCode}`;
|
return `${this.ProviderAddress},<br/> ${this.ProviderCity}, ${this.ProviderState} ${this.ProviderZipCode}`;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue