Skip to content

Commit 2415152

Browse files
author
Oleksandr Iegorov
committed
MC-42528: [GraphQl]Categories and categoryList queries ignore the Category permission to hide categories in a shared catalog
1 parent 1c81015 commit 2415152

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -579,7 +579,7 @@ public function filterSingleCategoryDataProvider(): array
579579
'name' => 'Category 1.1',
580580
'url_key' => 'category-1-1',
581581
'url_path' => 'category-1/category-1-1',
582-
'children_count' => '0',
582+
'children_count' => '1',
583583
'path' => '1/2/3/4',
584584
'position' => '1'
585585
]
@@ -594,7 +594,7 @@ public function filterSingleCategoryDataProvider(): array
594594
'name' => 'Category 1.1',
595595
'url_key' => 'category-1-1',
596596
'url_path' => 'category-1/category-1-1',
597-
'children_count' => '0',
597+
'children_count' => '1',
598598
'path' => '1/2/3/4',
599599
'position' => '1'
600600
]
@@ -678,7 +678,7 @@ public function filterMultipleCategoriesDataProvider(): array
678678
'name' => 'Category 1.1',
679679
'url_key' => 'category-1-1',
680680
'url_path' => 'category-1/category-1-1',
681-
'children_count' => '0',
681+
'children_count' => '1',
682682
'path' => '1/2/3/4',
683683
'position' => '1'
684684
],
@@ -714,7 +714,7 @@ public function filterMultipleCategoriesDataProvider(): array
714714
'name' => 'Category 1.1',
715715
'url_key' => 'category-1-1',
716716
'url_path' => 'category-1/category-1-1',
717-
'children_count' => '0',
717+
'children_count' => '1',
718718
'path' => '1/2/3/4',
719719
'position' => '1'
720720
],
@@ -751,7 +751,7 @@ public function filterMultipleCategoriesDataProvider(): array
751751
'name' => 'Category 1.1',
752752
'url_key' => 'category-1-1',
753753
'url_path' => 'category-1/category-1-1',
754-
'children_count' => '0',
754+
'children_count' => '1',
755755
'path' => '1/2/3/4',
756756
'position' => '1'
757757
],
@@ -786,7 +786,7 @@ public function filterMultipleCategoriesDataProvider(): array
786786
'name' => 'Category 1.1',
787787
'url_key' => 'category-1-1',
788788
'url_path' => 'category-1/category-1-1',
789-
'children_count' => '0',
789+
'children_count' => '1',
790790
'path' => '1/2/3/4',
791791
'position' => '1'
792792
],

0 commit comments

Comments
 (0)