You are here

public function ResultCacheTest::setUp in GraphQL 8.4

Overrides GraphQLTestBase::setUp

File

tests/src/Kernel/Framework/ResultCacheTest.php, line 25

Class

ResultCacheTest
Test query result caching.

Namespace

Drupal\Tests\graphql\Kernel\Framework

Code

public function setUp() : void {
  parent::setUp();
  $schema = <<<GQL
      type Query {
        root: String
        leakA: String
        leakB: String
      }
GQL;
  $this
    ->setUpSchema($schema);
}