CSR-2304 tests
CSR-2304 tests
This commit is contained in:
parent
99d051fe7f
commit
1635156aa2
2 changed files with 3 additions and 3 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,7 +314,7 @@ export default {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
ServiceLocationFullAddress() {
|
ServiceLocationFullAddress() {
|
||||||
return `${this.ServiceLocationAddress} ${this.ServiceLocationAddress2 ? "," + this.ServiceLocationAddress2 : ""}<br/> ${this.ServiceLocationCity}, ${this.ServiceLocationState} ${this.ServiceLocationZipCode}`;
|
return `${this.ServiceLocationAddress}${this.ServiceLocationAddress2 ? ", " + this.ServiceLocationAddress2 : ""},<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