Skip to content

Commit 43904db

Browse files
committed
MAGETWO-60625: [FT] AddProductsToCartBySkuFromCustomerAccountTest doesn't work
1 parent 3ebf94f commit 43904db

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

dev/tests/functional/tests/app/Magento/ConfigurableProduct/Test/Fixture/ConfigurableProduct/ConfigurableAttributesData.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -275,6 +275,9 @@ protected function prepareVariationsMatrix(array $data)
275275
// generate matrix
276276
foreach ($this->attributesData as $attributeKey => $attribute) {
277277
$variationsMatrix = $this->addVariationMatrix($variationsMatrix, $attribute, $attributeKey);
278+
if (!isset($data['matrix'])) {
279+
$data['matrix'] = $variationsMatrix;
280+
}
278281
}
279282

280283
foreach ($data['matrix'] as $key => $value) {

0 commit comments

Comments
 (0)