Skip to content

Commit 5e34573

Browse files
committed
MC-18552: Add api-functional test for querying for all linked categories for product
1 parent d856f38 commit 5e34573

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -997,8 +997,6 @@ public function testProductInAllAnchoredCategories()
997997
QUERY;
998998
$response = $this->graphQlQuery($query);
999999
$this->assertNotEmpty($response['products']['items'][0]['categories'], "Categories must not be empty");
1000-
/** @var ProductRepositoryInterface $productRepository */
1001-
$productRepository = ObjectManager::getInstance()->get(ProductRepositoryInterface::class);
10021000
/** @var CategoryRepositoryInterface $categoryRepository */
10031001
$categoryRepository = ObjectManager::getInstance()->get(CategoryRepositoryInterface::class);
10041002
$categoryIds = [3, 4, 5];

0 commit comments

Comments
 (0)