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()
1503
1503
*
1504
1504
* @magentoApiDataFixture Magento/Catalog/_files/product_in_multiple_categories.php
1505
1505
* @return void
1506
+ * @SuppressWarnings(PHPMD.UnusedLocalVariable)
1506
1507
*/
1507
1508
public function testFilterProductsBySingleCategoryId ()
1508
1509
{
@@ -1559,7 +1560,7 @@ public function testFilterProductsBySingleCategoryId()
1559
1560
$ this ->assertEquals ($ response ['products ' ]['items ' ][$ itemIndex ]['type_id ' ], $ product ->getTypeId ());
1560
1561
$ this ->assertNotEmpty ($ response ['products ' ]['items ' ][$ itemIndex ]['categories ' ]);
1561
1562
1562
- // uncomment after fix test
1563
+ // uncomment after fix test. DON'T forget to remove UnusedLocalVariables skip in doc block
1563
1564
1564
1565
// $categoryIds = $product->getCategoryIds();
1565
1566
// foreach ($categoryIds as $index => $value) {
@@ -1589,7 +1590,6 @@ public function testFilterProductsBySingleCategoryId()
1589
1590
$ this ->markTestIncomplete (
1590
1591
'Sort order is incorrect. Fix: https://github.com/magento/catalog-storefront/issues/104 '
1591
1592
);
1592
-
1593
1593
}
1594
1594
1595
1595
/**
You can’t perform that action at this time.
0 commit comments