Skip to content

Commit 06aead4

Browse files
committed
MC-32201: Reorder functionality (test coverage)
1 parent 2de34c8 commit 06aead4

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

dev/tests/api-functional/testsuite/Magento/GraphQl/Sales/ReorderConfigurableWithVariationsTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,6 @@ private function assetProductUndefined(array $response): void
265265
$this->assertResponseFields($response['reorderItems'] ?? [], $expectedResponse);
266266
}
267267

268-
269268
/**
270269
* @param string $email
271270
* @param string $password

dev/tests/integration/testsuite/Magento/Sales/_files/order_with_two_configurable_variations.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@
77
use Magento\Sales\Api\OrderRepositoryInterface;
88
use Magento\TestFramework\Helper\Bootstrap;
99

10-
require 'default_rollback.php';
11-
1210
$objectManager = Bootstrap::getObjectManager();
1311

1412
require __DIR__ . '/../../../Magento/Customer/_files/customer.php';
@@ -54,7 +52,9 @@
5452
$orderConfigurableItem->setParentItemId(null);
5553
$orderConfigurableItem->setProductType('configurable');
5654
$configurableVariations = [];
57-
foreach (array_values($configurableProduct->getExtensionAttributes()->getConfigurableProductLinks()) as $key => $variationId) {
55+
foreach (array_values($configurableProduct->getExtensionAttributes()->getConfigurableProductLinks())
56+
as $key => $variationId
57+
) {
5858
$simpleProductId = current($configurableProduct->getExtensionAttributes()->getConfigurableProductLinks());
5959

6060
/** @var \Magento\Catalog\Api\Data\ProductInterface $simpleProduct */

0 commit comments

Comments
 (0)