Skip to content

Commit 9faca53

Browse files
committed
B2B-2530: Unskip GraphQL cache tests skipped due to DEVOPS-4924
- Fixed new review comments
1 parent d5d68e4 commit 9faca53

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@ public function testCacheInvalidationForProducts()
5858

5959
$responseAfterUpdate = $this->graphQlQueryWithResponseHeaders($query);
6060
$this->assertArrayHasKey(CacheIdCalculator::CACHE_ID_HEADER, $responseAfterUpdate['headers']);
61-
$cacheId = $responseAfterUpdate['headers'][CacheIdCalculator::CACHE_ID_HEADER];
6261
// Cache invalidation happens and cache header value is a MISS after product update
6362
$this->assertCacheMissAndReturnResponse($query, [CacheIdCalculator::CACHE_ID_HEADER => $cacheId]);
6463
}

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ public function testCacheIsInvalidatedForUrlResolver()
134134
$product = $productRepository->get($productSku, false, null, true);
135135
$product->setUrlKey('p002-new.html')->save();
136136

137-
// Verify we obtain a cache MISS the first time we search the cache using this X-Magento-Cache-Id
137+
// Verify we obtain a cache MISS first time we search the cache using this X-Magento-Cache-Id
138138
$this->assertCacheMissAndReturnResponse($urlResolverQuery, [CacheIdCalculator::CACHE_ID_HEADER => $cacheId]);
139139
}
140140

0 commit comments

Comments
 (0)