Skip to content

Commit f1048fd

Browse files
committed
LYNX-232: Fix static tests
1 parent 7a33858 commit f1048fd

File tree

1 file changed

+1
-1
lines changed
  • dev/tests/api-functional/testsuite/Magento/GraphQl/PageCache

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ public function testCacheResultForCustomer()
286286
$this->assertArrayHasKey(CacheIdCalculator::CACHE_ID_HEADER, $productResponse['headers']);
287287

288288
// If no product is returned, we do not test empty response
289-
if (!empty($response['body']['products']['items'])) {
289+
if (!empty($productResponse['body']['products']['items'])) {
290290
$cacheIdForProducts = $productResponse['headers'][CacheIdCalculator::CACHE_ID_HEADER];
291291

292292
// Verify we obtain cache MISS the first time we search by this X-Magento-Cache-Id

0 commit comments

Comments
 (0)