abstract protected function QueryResultAssertionTrait::defaultCacheMaxAge in GraphQL 8.4
Same name and namespace in other branches
- 8.3 tests/src/Traits/QueryResultAssertionTrait.php \Drupal\Tests\graphql\Traits\QueryResultAssertionTrait::defaultCacheMaxAge()
Return the default cache max age for this test case.
Return value
int The default max age value.
1 call to QueryResultAssertionTrait::defaultCacheMaxAge()
- QueryResultAssertionTrait::defaultCacheMetaData in tests/
src/ Traits/ QueryResultAssertionTrait.php - The default cache metadata object.
1 method overrides QueryResultAssertionTrait::defaultCacheMaxAge()
- GraphQLTestBase::defaultCacheMaxAge in tests/
src/ Kernel/ GraphQLTestBase.php - Returns the default cache maximum age for the test.
File
- tests/
src/ Traits/ QueryResultAssertionTrait.php, line 32
Class
- QueryResultAssertionTrait
- Trait for easier assertion on GraphQL query results.
Namespace
Drupal\Tests\graphql\TraitsCode
protected abstract function defaultCacheMaxAge();