File tree Expand file tree Collapse file tree 1 file changed +0
-4
lines changed
dev/tests/api-functional/testsuite/Magento/GraphQl/PageCache/Cms Expand file tree Collapse file tree 1 file changed +0
-4
lines changed Original file line number Diff line number Diff 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 ]
You can’t perform that action at this time.
0 commit comments