Skip to content

Commit a30501f

Browse files
authored
Add count call back
1 parent 7682fa0 commit a30501f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dev/tests/functional/tests/app/Magento/Multishipping/Test/TestStep/FillShippingInformationStep.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ public function __construct(
5858
public function run()
5959
{
6060
$shippingMethods = [];
61-
for ($i = 0, $count = $this->customer->getAddress(); $i < $count; $i++) {
61+
for ($i = 0, $count = count($this->customer->getAddress()); $i < $count; $i++) {
6262
$shippingMethods[] = $this->shippingMethod;
6363
}
6464
$this->shippingInformation->getShippingBlock()->selectShippingMethod($shippingMethods);

0 commit comments

Comments
 (0)