protected function EntityDefinitionTest::defaultCacheContexts in GraphQL 8.4
Returns the default cache contexts used in assertions for this test.
Return value
string[] The list of cache contexts.
Overrides GraphQLTestBase::defaultCacheContexts
File
- tests/
src/ Kernel/ DataProducer/ EntityDefinitionTest.php, line 601
Class
- EntityDefinitionTest
- Test the entity_definition data producer and friends.
Namespace
Drupal\Tests\graphql\Kernel\DataProducerCode
protected function defaultCacheContexts() : array {
return [
'languages:language_interface',
'user.permissions',
];
}