Skip to content

Commit 70d3cec

Browse files
committed
MC-21542: Category query does not handle disabled children properly
- add test
1 parent c235ba6 commit 70d3cec

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,7 @@ public function testQueryChildCategoriesWithProductsDisabled()
219219
categoryList(filters: {ids: {in: ["3"]}}){
220220
id
221221
name
222+
image
222223
url_key
223224
url_path
224225
description
@@ -231,6 +232,7 @@ public function testQueryChildCategoriesWithProductsDisabled()
231232
}
232233
children{
233234
name
235+
image
234236
url_key
235237
description
236238
products{
@@ -242,6 +244,7 @@ public function testQueryChildCategoriesWithProductsDisabled()
242244
}
243245
children{
244246
name
247+
image
245248
}
246249
}
247250
}

0 commit comments

Comments
 (0)