File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
dev/tests/api-functional/testsuite/Magento/GraphQl/PageCache Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -75,7 +75,6 @@ public function testCacheTagForCategoriesWithProduct()
75
75
{
76
76
$ firstProductSku = 'simple333 ' ;
77
77
$ secondProductSku = 'simple444 ' ;
78
- $ categoryId = 4 ;
79
78
80
79
/** @var ProductRepositoryInterface $productRepository */
81
80
$ productRepository = ObjectManager::getInstance ()->get (ProductRepositoryInterface::class);
@@ -89,7 +88,7 @@ public function testCacheTagForCategoriesWithProduct()
89
88
90
89
// cache-debug header value should be a MISS when category is loaded first time
91
90
$ responseMissOnCategoryQuery = $ this ->graphQlQueryWithResponseHeaders ($ categoryQuery );
92
- $ cacheId = $ responseMissOnCategoryQuery ['headers ' ][CacheIdCalculator::CACHE_ID_HEADER ];;
91
+ $ cacheId = $ responseMissOnCategoryQuery ['headers ' ][CacheIdCalculator::CACHE_ID_HEADER ];
93
92
// Verify we obtain a cache MISS the first time we search the cache using this X-Magento-Cache-Id
94
93
$ this ->assertCacheMissAndReturnResponse ($ categoryQuery , [CacheIdCalculator::CACHE_ID_HEADER => $ cacheId ]);
95
94
You can’t perform that action at this time.
0 commit comments