protected function GraphQLTestBase::defaultCacheMaxAge in GraphQL 8.3
Same name and namespace in other branches
- 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\KernelCode
protected function defaultCacheMaxAge() {
return Cache::PERMANENT;
}