You are here

protected function GraphQLTestBase::defaultCacheTags in GraphQL 8.3

Same name and namespace in other branches
  1. 8.4 tests/src/Kernel/GraphQLTestBase.php \Drupal\Tests\graphql\Kernel\GraphQLTestBase::defaultCacheTags()

Return the default cache cache tags for this test case.

Return value

string[] The default cache tags.

Overrides QueryResultAssertionTrait::defaultCacheTags

File

tests/src/Kernel/GraphQLTestBase.php, line 71

Class

GraphQLTestBase
Base class for GraphQL tests.

Namespace

Drupal\Tests\graphql\Kernel

Code

protected function defaultCacheTags() {
  return [
    'graphql',
  ];
}