Skip to content

Commit fbf52d0

Browse files
committed
B2B-2530: Unskip GraphQL cache tests skipped due to DEVOPS-4924
- Adding Static fixes
1 parent f75a6a5 commit fbf52d0

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

dev/tests/api-functional/testsuite/Magento/GraphQl/PageCache/CacheTagTest.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,6 @@ public function testCacheTagForCategoriesWithProduct()
7575
{
7676
$firstProductSku = 'simple333';
7777
$secondProductSku = 'simple444';
78-
$categoryId = 4;
7978

8079
/** @var ProductRepositoryInterface $productRepository */
8180
$productRepository = ObjectManager::getInstance()->get(ProductRepositoryInterface::class);
@@ -89,7 +88,7 @@ public function testCacheTagForCategoriesWithProduct()
8988

9089
// cache-debug header value should be a MISS when category is loaded first time
9190
$responseMissOnCategoryQuery = $this->graphQlQueryWithResponseHeaders($categoryQuery);
92-
$cacheId = $responseMissOnCategoryQuery['headers'][CacheIdCalculator::CACHE_ID_HEADER];;
91+
$cacheId = $responseMissOnCategoryQuery['headers'][CacheIdCalculator::CACHE_ID_HEADER];
9392
// Verify we obtain a cache MISS the first time we search the cache using this X-Magento-Cache-Id
9493
$this->assertCacheMissAndReturnResponse($categoryQuery, [CacheIdCalculator::CACHE_ID_HEADER => $cacheId]);
9594

0 commit comments

Comments
 (0)