protected function ActionResourceTestBase::getExpectedCacheContexts in Drupal 8
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/ system/ tests/ src/ Functional/ Rest/ ActionResourceTestBase.php, line 76
Class
Namespace
Drupal\Tests\system\Functional\RestCode
protected function getExpectedCacheContexts() {
return [
'user.permissions',
];
}