File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
dev/tests/functional/tests/app/Magento/Customer/Test/Block/Adminhtml/Edit/Tab Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ class Addresses extends Tab
59
59
*
60
60
* @var string
61
61
*/
62
- protected $ customerAddress = '//*[contains(@class, "address-list-item")][%d + 1 ] ' ;
62
+ protected $ customerAddress = '//*[contains(@class, "address-list-item")][%d] ' ;
63
63
64
64
/**
65
65
* Magento loader.
@@ -164,7 +164,7 @@ public function updateAddresses($address)
164
164
public function getDataAddresses ($ address = null )
165
165
{
166
166
$ data = [];
167
- $ addresses = is_array ($ address ) ? $ address : [0 => $ address ];
167
+ $ addresses = is_array ($ address ) ? $ address : [1 => $ address ];
168
168
169
169
foreach ($ addresses as $ addressNumber => $ address ) {
170
170
$ isHasData = (null !== $ address ) && $ address ->hasData ();
You can’t perform that action at this time.
0 commit comments