Skip to content

Commit 0e78cca

Browse files
committed
GraphQL-594,595,600:fixed some code review comments
for integration tests
1 parent 1e135ca commit 0e78cca

File tree

3 files changed

+1
-6
lines changed

3 files changed

+1
-6
lines changed

dev/tests/integration/testsuite/Magento/GraphQlCache/Controller/Catalog/CategoriesWithProductsCacheTest.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,16 +44,14 @@ protected function setUp(): void
4444
/**
4545
* Test cache tags and debug header for category with products querying for products and category
4646
*
47-
* @magentoCache all enabled
4847
* @magentoDataFixture Magento/Catalog/_files/category_product.php
49-
*
5048
*/
5149
public function testToCheckRequestCacheTagsForCategoryWithProducts(): void
5250
{
5351
/** @var ProductRepositoryInterface $productRepository */
5452
$productRepository = $this->objectManager->get(ProductRepositoryInterface::class);
5553
/** @var ProductInterface $product */
56-
$product= $productRepository->get('simple333');
54+
$product = $productRepository->get('simple333');
5755
$categoryId ='333';
5856
$query
5957
= <<<QUERY

dev/tests/integration/testsuite/Magento/GraphQlCache/Controller/Catalog/CategoryCacheTest.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,7 @@ protected function setUp(): void
4242
/**
4343
* Test cache tags and debug header for category and querying only for category
4444
*
45-
* @magentoCache all enabled
4645
* @magentoDataFixture Magento/Catalog/_files/category_product.php
47-
*
4846
*/
4947
public function testToCheckRequestCacheTagsForForCategory(): void
5048
{

dev/tests/integration/testsuite/Magento/GraphQlCache/Controller/Catalog/ProductsCacheTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ protected function setUp(): void
4343
/**
4444
* Test request is dispatched and response is checked for debug headers and cache tags
4545
*
46-
* @magentoCache all enabled
4746
* @magentoDataFixture Magento/Catalog/_files/product_simple_with_url_key.php
4847
*/
4948
public function testToCheckRequestCacheTagsForProducts(): void

0 commit comments

Comments
 (0)