Skip to content

Commit 4d16d0f

Browse files
Merge branch '2.1' into MAGETWO-55463
2 parents 4390ade + 451054e commit 4d16d0f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dev/tests/functional/tests/app/Magento/Catalog/Test/TestStep/CreateProductsStep.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ public function __construct(FixtureFactory $fixtureFactory, $products, array $da
6060
public function run()
6161
{
6262
$products = [];
63-
$productsDataSets = explode(',', $this->products);
63+
$productsDataSets = is_array($this->products) ? $this->products : explode(',', $this->products);
6464
foreach ($productsDataSets as $key => $productDataSet) {
6565
$productDataSet = explode('::', $productDataSet);
6666
$fixtureClass = $productDataSet[0];

0 commit comments

Comments
 (0)