We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d856f38 commit 5e34573Copy full SHA for 5e34573
dev/tests/api-functional/testsuite/Magento/GraphQl/Catalog/ProductViewTest.php
@@ -997,8 +997,6 @@ public function testProductInAllAnchoredCategories()
997
QUERY;
998
$response = $this->graphQlQuery($query);
999
$this->assertNotEmpty($response['products']['items'][0]['categories'], "Categories must not be empty");
1000
- /** @var ProductRepositoryInterface $productRepository */
1001
- $productRepository = ObjectManager::getInstance()->get(ProductRepositoryInterface::class);
1002
/** @var CategoryRepositoryInterface $categoryRepository */
1003
$categoryRepository = ObjectManager::getInstance()->get(CategoryRepositoryInterface::class);
1004
$categoryIds = [3, 4, 5];
0 commit comments