Skip to content

Commit 41eeb47

Browse files
committed
B2B-2530: Unskip GraphQL cache tests skipped due to DEVOPS-4924
- Adjusted Static failures
1 parent bc48362 commit 41eeb47

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

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

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@ public function testCacheIsUsedOnSecondRequest()
4545

4646
$query = $this->getPageQuery($pageId);
4747

48-
4948
$response = $this->graphQlQueryWithResponseHeaders($query);
5049
$this->assertArrayHasKey(CacheIdCalculator::CACHE_ID_HEADER, $response['headers']);
5150
// Obtain the X-Magento-Cache-Id from the response which will be used as the cache key
@@ -118,15 +117,12 @@ public function testCacheIsInvalidatedOnPageUpdate()
118117
$newPageContent = 'New page content for blank page.';
119118
$pageBlank->setContent($newPageContent);
120119
$pageRepository->save($pageBlank);
121-
122-
123120
$pageBlankResponseMissAfterUpdate = $this->graphQlQueryWithResponseHeaders($pageBlankQuery);
124121
// Verify we obtain a cache MISS after updating the page blank query
125122
$this->assertCacheMissAndReturnResponse(
126123
$pageBlankQuery,
127124
[CacheIdCalculator::CACHE_ID_HEADER => $cacheIdPageBlankResponse]
128125
);
129-
130126
$pageBlankResponseHitAfterUpdate = $this->assertCacheHitAndReturnResponse(
131127
$pageBlankQuery,
132128
[CacheIdCalculator::CACHE_ID_HEADER => $cacheIdPageBlankResponse]

0 commit comments

Comments
 (0)