Skip to content

Commit f8a9f40

Browse files
Fixed static test issues
1 parent 46db7bb commit f8a9f40

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

app/code/Magento/ConfigurableProduct/Controller/Adminhtml/Product/Initialization/Helper/Plugin/UpdateConfigurations.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@
99

1010
use \Magento\Catalog\Model\Product\Edit\WeightResolver;
1111

12+
/*
13+
* Update Configurations for configurable product
14+
*/
1215
class UpdateConfigurations
1316
{
1417
/**
@@ -113,7 +116,7 @@ protected function getConfigurations()
113116
$result[$item['id']]['quantity_and_stock_status']['qty'] = $item['qty'];
114117
}
115118

116-
// Changing product to simple on weight change
119+
// Changing product to simple on weight change
117120
if (isset($item['weight']) && $item['weight'] >= 0) {
118121
$result[$item['id']]['type_id'] = \Magento\Catalog\Model\Product\Type::TYPE_SIMPLE;
119122
$result[$item['id']]['product_has_weight'] = WeightResolver::HAS_WEIGHT;

0 commit comments

Comments
 (0)