You are here

abstract protected function QueryResultAssertionTrait::defaultCacheMaxAge in GraphQL 8.3

Same name and namespace in other branches
  1. 8.4 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
Return the default cache max age for this test case.

File

tests/src/Traits/QueryResultAssertionTrait.php, line 29

Class

QueryResultAssertionTrait
Trait for easier assertion on GraphQL query results.

Namespace

Drupal\Tests\graphql\Traits

Code

protected abstract function defaultCacheMaxAge();