protected function GraphQLTestBase::defaultCacheMaxAge in GraphQL 8.4
Same name and namespace in other branches
- 8.3 tests/src/Kernel/GraphQLTestBase.php \Drupal\Tests\graphql\Kernel\GraphQLTestBase::defaultCacheMaxAge()
Returns the default cache maximum age for the test.
Overrides QueryResultAssertionTrait::defaultCacheMaxAge
File
- tests/
src/ Kernel/ GraphQLTestBase.php, line 85
Class
- GraphQLTestBase
- Provides helper methods for kernel tests in GraphQL module.
Namespace
Drupal\Tests\graphql\KernelCode
protected function defaultCacheMaxAge() : int {
return Cache::PERMANENT;
}