Skip to content

Commit 9015916

Browse files
committed
B2B-2451: Implement GraphQL Resolver Cache for CMS Page Type
1 parent bbc7605 commit 9015916

File tree

1 file changed

+3
-1
lines changed
  • dev/tests/api-functional/testsuite/Magento/CmsGraphQl/Model/Resolver

1 file changed

+3
-1
lines changed

dev/tests/api-functional/testsuite/Magento/CmsGraphQl/Model/Resolver/PageTest.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,11 +85,13 @@ protected function setUp(): void
8585
protected function tearDown(): void
8686
{
8787
// clean graphql resolver cache and reset to original enablement status
88-
$this->objectManager->get(GraphQlCache::class)->clean();
88+
$this->graphqlCache->clean();
8989
$this->cacheState->setEnabled(
9090
GraphQlCache::TYPE_IDENTIFIER,
9191
$this->originalCacheStateEnabledStatus
9292
);
93+
94+
parent::tearDown();
9395
}
9496

9597
/**

0 commit comments

Comments
 (0)