protected function RdfMappingResourceTestBase::getExpectedCacheContexts in Drupal 9
Same name and namespace in other branches
- 8 core/modules/rdf/tests/src/Functional/Rest/RdfMappingResourceTestBase.php \Drupal\Tests\rdf\Functional\Rest\RdfMappingResourceTestBase::getExpectedCacheContexts()
The expected cache contexts for the GET/HEAD response of the test entity.
Return value
string[]
Overrides EntityResourceTestBase::getExpectedCacheContexts
See also
::testGet
File
- core/
modules/ rdf/ tests/ src/ Functional/ Rest/ RdfMappingResourceTestBase.php, line 119
Class
Namespace
Drupal\Tests\rdf\Functional\RestCode
protected function getExpectedCacheContexts() {
return [
'user.permissions',
];
}