Skip to content

Commit c2eb708

Browse files
committed
AC::5984-fixed faliing testcases category.php and ProductSearchTest.php
1 parent e40bc76 commit c2eb708

File tree

2 files changed

+5
-4
lines changed
  • app/code/Magento/CatalogGraphQl/DataProvider/Product/LayeredNavigation/Builder
  • dev/tests/api-functional/testsuite/Magento/GraphQl/Catalog

2 files changed

+5
-4
lines changed

app/code/Magento/CatalogGraphQl/DataProvider/Product/LayeredNavigation/Builder/Category.php

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,10 +74,10 @@ class Category implements LayerBuilderInterface
7474
/**
7575
* @var Aggregations\Category\IncludeDirectChildrenOnly
7676
*/
77-
private Aggregations\Category\IncludeDirectChildrenOnly $includeDirectChildrenOnly;
77+
private Aggregations\Category\IncludeDirectChildrenOnly $includeDirectChildrenOnly;
7878

79-
/** @var Uid */
80-
private Uid $uidEncoder;
79+
/** @var Uid */
80+
private Uid $uidEncoder;
8181

8282
/**
8383
* @param CategoryAttributeQuery $categoryAttributeQuery
@@ -87,6 +87,7 @@ class Category implements LayerBuilderInterface
8787
* @param LayerFormatter $layerFormatter
8888
* @param Aggregations\Category\IncludeDirectChildrenOnly $includeDirectChildrenOnly
8989
* @param CollectionFactory $categoryCollectionFactory
90+
* @param Uid $uidEncoder
9091
*/
9192
public function __construct(
9293
CategoryAttributeQuery $categoryAttributeQuery,

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1680,7 +1680,7 @@ public function testFilterProductsForExactMatchingName()
16801680
'options' => [
16811681
[
16821682
'label' => 'Colorful Category',
1683-
'value' => '330',
1683+
'value' => 'MzMw',
16841684
'count' => 2,
16851685
],
16861686
],

0 commit comments

Comments
 (0)