From fc0059acd05eae6208709a185c379ab1af2a331d Mon Sep 17 00:00:00 2001 From: Josh Dassinger Date: Mon, 29 Apr 2024 11:02:31 -0500 Subject: [PATCH] SSR-1175 Fix customer-review unit test --- .../customer-review/customer-review.spec.js | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/layouts/payment-method/review-dropdown/review-sections/customer-review/customer-review.spec.js b/src/layouts/payment-method/review-dropdown/review-sections/customer-review/customer-review.spec.js index 7d523f9d..17653251 100644 --- a/src/layouts/payment-method/review-dropdown/review-sections/customer-review/customer-review.spec.js +++ b/src/layouts/payment-method/review-dropdown/review-sections/customer-review/customer-review.spec.js @@ -14,10 +14,10 @@ const testConstants = { text: 'Sms' } }, - customer: { + customerInfo: { firstName: 'First', lastName: 'Last', - phoneNumber: '111-111-1111', + servicePhone: '111-111-1111', emailAddress: 'builddigitaltest@safelite.com', isSmsOptIn: false }, @@ -33,11 +33,11 @@ function generateDefaultProps() { return { cmsWidgetName: 'CustomerWidget', customer: { - firstName: testConstants.customer.firstName, - lastName: testConstants.customer.lastName, - phoneNumber: testConstants.customer.phoneNumber, - emailAddress: testConstants.customer.emailAddress, - isSmsOptIn: testConstants.customer.isSmsOptIn + firstName: testConstants.customerInfo.firstName, + lastName: testConstants.customerInfo.lastName, + servicePhone: testConstants.customerInfo.servicePhone, + emailAddress: testConstants.customerInfo.emailAddress, + isSmsOptIn: testConstants.customerInfo.isSmsOptIn } }; }