Skip to content

Commit d861e54

Browse files
committed
B2B-2256: "countries" and "country" GraphQl query has no cache identity
1 parent 9a83d26 commit d861e54

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

dev/tests/api-functional/testsuite/Magento/GraphQl/Directory/CountriesCacheTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
use Magento\TestFramework\Helper\Bootstrap;
2020

2121
/**
22-
* Test Coutries query cache
22+
* Test Countries query cache
2323
*/
2424
class CountriesCacheTest extends GraphQLPageCacheAbstract
2525
{

dev/tests/api-functional/testsuite/Magento/GraphQl/Directory/CountryCacheTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -402,13 +402,13 @@ public function testCachePurgedWithWebsiteScopeCountryConfigChange(): void
402402
);
403403

404404
// Query second store DE country after the country config of its associated second website is changed
405-
$responsesecondStoreDeCountry = $this->graphQlQueryWithResponseHeaders(
405+
$responseSecondStoreDeCountry = $this->graphQlQueryWithResponseHeaders(
406406
$this->getQuery('DE'),
407407
[],
408408
'',
409409
['Store' => $secondStoreCode]
410410
);
411-
$secondStoreDeCountryCacheId = $responsesecondStoreDeCountry['headers'][CacheIdCalculator::CACHE_ID_HEADER];
411+
$secondStoreDeCountryCacheId = $responseSecondStoreDeCountry['headers'][CacheIdCalculator::CACHE_ID_HEADER];
412412
// Verify we obtain a cache MISS at the 1st time, the cache is purged
413413
$secondStoreDeCountryResponse = $this->assertCacheMissAndReturnResponse(
414414
$this->getQuery('DE'),

0 commit comments

Comments
 (0)