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()
45
45
46
46
$ query = $ this ->getPageQuery ($ pageId );
47
47
48
-
49
48
$ response = $ this ->graphQlQueryWithResponseHeaders ($ query );
50
49
$ this ->assertArrayHasKey (CacheIdCalculator::CACHE_ID_HEADER , $ response ['headers ' ]);
51
50
// Obtain the X-Magento-Cache-Id from the response which will be used as the cache key
@@ -118,15 +117,12 @@ public function testCacheIsInvalidatedOnPageUpdate()
118
117
$ newPageContent = 'New page content for blank page. ' ;
119
118
$ pageBlank ->setContent ($ newPageContent );
120
119
$ pageRepository ->save ($ pageBlank );
121
-
122
-
123
120
$ pageBlankResponseMissAfterUpdate = $ this ->graphQlQueryWithResponseHeaders ($ pageBlankQuery );
124
121
// Verify we obtain a cache MISS after updating the page blank query
125
122
$ this ->assertCacheMissAndReturnResponse (
126
123
$ pageBlankQuery ,
127
124
[CacheIdCalculator::CACHE_ID_HEADER => $ cacheIdPageBlankResponse ]
128
125
);
129
-
130
126
$ pageBlankResponseHitAfterUpdate = $ this ->assertCacheHitAndReturnResponse (
131
127
$ pageBlankQuery ,
132
128
[CacheIdCalculator::CACHE_ID_HEADER => $ cacheIdPageBlankResponse ]
You can’t perform that action at this time.
0 commit comments