Skip to content

Commit a4f2e54

Browse files
author
Oleksandr Karpenko
committed
MAGETWO-48021: State value is not saved in customer account address on storefront
1 parent a21de5e commit a4f2e54

File tree

1 file changed

+5
-0
lines changed
  • dev/tests/integration/testsuite/Magento/Customer/Controller/Adminhtml

1 file changed

+5
-0
lines changed

dev/tests/integration/testsuite/Magento/Customer/Controller/Adminhtml/IndexTest.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,7 @@ public function testSaveActionWithValidCustomerDataAndValidAddressData()
164164
'lastname' => 'test lastname',
165165
'street' => ['test street'],
166166
'city' => 'test city',
167+
'region_id' => 10,
167168
'country_id' => 'US',
168169
'postcode' => '01001',
169170
'telephone' => '+7000000001',
@@ -246,6 +247,7 @@ public function testSaveActionExistingCustomerAndExistingAddressData()
246247
'lastname' => 'update lastname',
247248
'street' => ['update street'],
248249
'city' => 'update city',
250+
'region_id' => 10,
249251
'country_id' => 'US',
250252
'postcode' => '01001',
251253
'telephone' => '+7000000001',
@@ -256,6 +258,7 @@ public function testSaveActionExistingCustomerAndExistingAddressData()
256258
'lastname' => 'new lastname',
257259
'street' => ['new street'],
258260
'city' => 'new city',
261+
'region_id' => 10,
259262
'country_id' => 'US',
260263
'postcode' => '01001',
261264
'telephone' => '+7000000001',
@@ -266,6 +269,7 @@ public function testSaveActionExistingCustomerAndExistingAddressData()
266269
'lastname' => '',
267270
'street' => [],
268271
'city' => '',
272+
'region_id' => 10,
269273
'country_id' => 'US',
270274
'postcode' => '',
271275
'telephone' => '',
@@ -586,6 +590,7 @@ public function testValidateCustomerWithAddressSuccess()
586590
'street' => ['update street'],
587591
'city' => 'update city',
588592
'country_id' => 'US',
593+
'region_id' => 10,
589594
'postcode' => '01001',
590595
'telephone' => '+7000000001',
591596
],

0 commit comments

Comments
 (0)