File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
dev/tests/api-functional/testsuite/Magento/GraphQl/Catalog Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1503,6 +1503,7 @@ public function testFilteringForProductsFromMultipleCategories()
15031503 *
15041504 * @magentoApiDataFixture Magento/Catalog/_files/product_in_multiple_categories.php
15051505 * @return void
1506+ * @SuppressWarnings(PHPMD.UnusedLocalVariable)
15061507 */
15071508 public function testFilterProductsBySingleCategoryId ()
15081509 {
@@ -1559,7 +1560,7 @@ public function testFilterProductsBySingleCategoryId()
15591560 $ this ->assertEquals ($ response ['products ' ]['items ' ][$ itemIndex ]['type_id ' ], $ product ->getTypeId ());
15601561 $ this ->assertNotEmpty ($ response ['products ' ]['items ' ][$ itemIndex ]['categories ' ]);
15611562
1562- // uncomment after fix test
1563+ // uncomment after fix test. DON'T forget to remove UnusedLocalVariables skip in doc block
15631564
15641565 // $categoryIds = $product->getCategoryIds();
15651566 // foreach ($categoryIds as $index => $value) {
@@ -1589,7 +1590,6 @@ public function testFilterProductsBySingleCategoryId()
15891590 $ this ->markTestIncomplete (
15901591 'Sort order is incorrect. Fix: https://github.com/magento/catalog-storefront/issues/104 '
15911592 );
1592-
15931593 }
15941594
15951595 /**
You can’t perform that action at this time.
0 commit comments