Skip to content

Commit 7b0a489

Browse files
committed
magento#13231: [GitHub] Default State or Province is not pre-selected in the Estimate Shipping and Tax
1 parent e26c22f commit 7b0a489

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

dev/tests/js/jasmine/tests/app/code/Magento/Checkout/frontend/js/model/new-customer-address.test.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,7 @@ define([
5050

5151
it('Check on regionId with country object in address data.', function () {
5252
var result = newCustomerAddress({
53-
region: {
54-
'country_id': 'CA'
55-
}
53+
'country_id': 'CA'
5654
}),
5755
expected = {
5856
countryId: 'CA',
@@ -65,7 +63,9 @@ define([
6563
it('Check on regionId with countryId and regionId in address data.', function () {
6664
var result = newCustomerAddress({
6765
'country_id': 'CA',
68-
'region_id': 66
66+
region: {
67+
'region_id': 66
68+
}
6969
}),
7070
expected = {
7171
countryId: 'CA',

0 commit comments

Comments
 (0)