You are here

protected function GraphQLTestBase::defaultCacheMaxAge in GraphQL 8.3

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

Return the default cache max age for this test case.

Return value

int The default max age value.

Overrides QueryResultAssertionTrait::defaultCacheMaxAge

File

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

Class

GraphQLTestBase
Base class for GraphQL tests.

Namespace

Drupal\Tests\graphql\Kernel

Code

protected function defaultCacheMaxAge() {
  return Cache::PERMANENT;
}