Skip to content

Commit 079bf36

Browse files
committed
magento/graphql-ce#678: [Test coverage] Send email to friend
- fixed code style
1 parent af257bc commit 079bf36

File tree

2 files changed

+9
-6
lines changed

2 files changed

+9
-6
lines changed

dev/tests/integration/testsuite/Magento/GraphQl/Catalog/_files/simple_product_without_visibility.php

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,12 @@
3636
/** Out of interface */
3737
$product
3838
->setWebsiteIds([1])
39-
->setStockData([
40-
'qty' => 85.5,
41-
'is_in_stock' => true,
42-
'manage_stock' => true,
43-
'is_qty_decimal' => true
44-
]);
39+
->setStockData(
40+
[
41+
'qty' => 85.5,
42+
'is_in_stock' => true,
43+
'manage_stock' => true,
44+
'is_qty_decimal' => true
45+
]
46+
);
4547
$productRepository->save($product);

dev/tests/integration/testsuite/Magento/GraphQl/Catalog/_files/simple_product_without_visibility_rollback.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121

2222
try {
2323
$productRepository->deleteById('simple_product_without_visibility');
24+
// phpcs:ignore Magento2.CodeAnalysis.EmptyBlock
2425
} catch (\Magento\Framework\Exception\NoSuchEntityException $e) {
2526
/**
2627
* Tests which are wrapped with MySQL transaction clear all data by transaction rollback.

0 commit comments

Comments
 (0)