SSR-1175 Fix customer-review unit test
This commit is contained in:
parent
72555e5b7f
commit
fc0059acd0
1 changed files with 7 additions and 7 deletions
|
|
@ -14,10 +14,10 @@ const testConstants = {
|
||||||
text: 'Sms'
|
text: 'Sms'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
customer: {
|
customerInfo: {
|
||||||
firstName: 'First',
|
firstName: 'First',
|
||||||
lastName: 'Last',
|
lastName: 'Last',
|
||||||
phoneNumber: '111-111-1111',
|
servicePhone: '111-111-1111',
|
||||||
emailAddress: 'builddigitaltest@safelite.com',
|
emailAddress: 'builddigitaltest@safelite.com',
|
||||||
isSmsOptIn: false
|
isSmsOptIn: false
|
||||||
},
|
},
|
||||||
|
|
@ -33,11 +33,11 @@ function generateDefaultProps() {
|
||||||
return {
|
return {
|
||||||
cmsWidgetName: 'CustomerWidget',
|
cmsWidgetName: 'CustomerWidget',
|
||||||
customer: {
|
customer: {
|
||||||
firstName: testConstants.customer.firstName,
|
firstName: testConstants.customerInfo.firstName,
|
||||||
lastName: testConstants.customer.lastName,
|
lastName: testConstants.customerInfo.lastName,
|
||||||
phoneNumber: testConstants.customer.phoneNumber,
|
servicePhone: testConstants.customerInfo.servicePhone,
|
||||||
emailAddress: testConstants.customer.emailAddress,
|
emailAddress: testConstants.customerInfo.emailAddress,
|
||||||
isSmsOptIn: testConstants.customer.isSmsOptIn
|
isSmsOptIn: testConstants.customerInfo.isSmsOptIn
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue