We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7a33858 commit f1048fdCopy full SHA for f1048fd
dev/tests/api-functional/testsuite/Magento/GraphQl/PageCache/VarnishTest.php
@@ -286,7 +286,7 @@ public function testCacheResultForCustomer()
286
$this->assertArrayHasKey(CacheIdCalculator::CACHE_ID_HEADER, $productResponse['headers']);
287
288
// If no product is returned, we do not test empty response
289
- if (!empty($response['body']['products']['items'])) {
+ if (!empty($productResponse['body']['products']['items'])) {
290
$cacheIdForProducts = $productResponse['headers'][CacheIdCalculator::CACHE_ID_HEADER];
291
292
// Verify we obtain cache MISS the first time we search by this X-Magento-Cache-Id
0 commit comments