From 2802dd7de7e5aefd8fb420269bcdf162f85974af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9Cbc-yevhenii-buliuk=E2=80=9D?= <“yevhenii.buliuk@bigcommerce.com”> Date: Mon, 14 Jun 2021 12:00:16 +0300 Subject: [PATCH] Add missing quotes for Country and State/Province fields of Shipping Estimator to pass functional tests --- assets/js/test-unit/theme/cart.spec.js | 4 ++-- lang/en.json | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/assets/js/test-unit/theme/cart.spec.js b/assets/js/test-unit/theme/cart.spec.js index a09cab8a5f..c4540afb99 100644 --- a/assets/js/test-unit/theme/cart.spec.js +++ b/assets/js/test-unit/theme/cart.spec.js @@ -6,8 +6,8 @@ var dataSpy; var UpdateSpy; var c = new Cart(); c.context = { - shippingCountryErrorMessage: 'The Country field cannot be blank.', - shippingProvinceErrorMessage: 'The State/Province field cannot be blank.', + shippingCountryErrorMessage: `The 'Country' field cannot be blank.`, + shippingProvinceErrorMessage: `The 'State/Province' field cannot be blank.`, }; beforeEach(function() { UpdateSpy = spyOn(utils.api.cart, 'itemUpdate'); diff --git a/lang/en.json b/lang/en.json index 79d708ecf8..ba6417493d 100755 --- a/lang/en.json +++ b/lang/en.json @@ -106,8 +106,8 @@ "free_shipping": "Free shipping", "hide_ups_rates": "Hide UPS Rates", "show_ups_rates": "Show UPS Rates", - "empty_country_error": "The Country field cannot be blank.", - "empty_province_error": "The State/Province field cannot be blank." + "empty_country_error": "The 'Country' field cannot be blank.", + "empty_province_error": "The 'State/Province' field cannot be blank." }, "gift_wrapping": { "title": "Gift Wrapping",