Skip to content

Commit 371d95c

Browse files
committed
magento/graphql-ce#808: [Test coverage] Add disabled variation of Configurable Product to cart
- code style fixes
1 parent cff32c4 commit 371d95c

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

dev/tests/integration/testsuite/Magento/ConfigurableProduct/_files/product_configurable_zero_qty_first_child.php

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,14 @@
1010
$childSku = 'simple_10';
1111
try {
1212
$childProduct = $productRepository->get($childSku);
13-
$childProduct->setStockData([
14-
'use_config_manage_stock' => 1,
15-
'qty' => 0,
16-
'is_qty_decimal' => 0,
17-
'is_in_stock' => 0
18-
]);
13+
$childProduct->setStockData(
14+
[
15+
'use_config_manage_stock' => 1,
16+
'qty' => 0,
17+
'is_qty_decimal' => 0,
18+
'is_in_stock' => 0
19+
]
20+
);
1921
$productRepository->save($childProduct);
2022
} catch (Exception $e) {
2123
// Nothing to remove

0 commit comments

Comments
 (0)