Skip to content

Commit 610cec5

Browse files
committed
MC-32201: Reorder functionality (test coverage)
1 parent 97ff202 commit 610cec5

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,8 @@ private function assertWithOutOfStockVariation(
164164
* @throws \Magento\Framework\Exception\StateException
165165
* @throws NoSuchEntityException
166166
*/
167-
public function testWithDeletedVariation(): void {
167+
public function testWithDeletedVariation(): void
168+
{
168169
/** @var \Magento\Catalog\Api\ProductRepositoryInterface $repository */
169170
$productRepository = Bootstrap::getObjectManager()
170171
->create(\Magento\Catalog\Api\ProductRepositoryInterface::class);

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

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -254,10 +254,7 @@ private function assertWithDeletedProduct(
254254
->get(\Magento\Framework\Registry::class);
255255
$registry->unregister('isSecureArea');
256256
$registry->register('isSecureArea', true);
257-
258-
$productId = $product->getId();
259257
$productRepository->delete($product);
260-
261258
$registry->unregister('isSecureArea');
262259
$registry->register('isSecureArea', false);
263260

0 commit comments

Comments
 (0)