Skip to content

Commit 451054e

Browse files
authored
Merge pull request #178 from magento-troll/MAGETWO-55897
[Troll] MAGETWO-55897: Fix backward compatibility of MTF framework
2 parents 8d653c7 + 3143eb1 commit 451054e

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)