Skip to content

Commit afe3cd9

Browse files
30349: Product filter with category_id does not work as expected - added API functional test
1 parent 09cd013 commit afe3cd9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dev/tests/api-functional/testsuite/Magento/GraphQl/Catalog/ProductSearchTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1492,7 +1492,7 @@ public function testFilteringForProductsFromMultipleCategories()
14921492
$actualProducts[$linkProduct->getSku()] = $product->getName();
14931493
}
14941494
}
1495-
$expectedProducts = array_column($response['products']['items'],"name","sku");
1495+
$expectedProducts = array_column($response['products']['items'], "name", "sku");
14961496
$this->assertEquals($expectedProducts, $actualProducts);
14971497
}
14981498

0 commit comments

Comments
 (0)