You are here

protected function RestJsonApiUnsupported::getExpectedUnauthorizedAccessCacheability in JSON:API 8

Same name and namespace in other branches
  1. 8.2 tests/src/Functional/RestJsonApiUnsupported.php \Drupal\Tests\jsonapi\Functional\RestJsonApiUnsupported::getExpectedUnauthorizedAccessCacheability()

Returns the expected cacheability of an unauthorized access response.

Return value

\Drupal\Core\Cache\RefinableCacheableDependencyInterface The expected cacheability.

Overrides ResourceTestBase::getExpectedUnauthorizedAccessCacheability

File

tests/src/Functional/RestJsonApiUnsupported.php, line 111

Class

RestJsonApiUnsupported
Ensures that the 'api_json' format is not supported by the REST module.

Namespace

Drupal\Tests\jsonapi\Functional

Code

protected function getExpectedUnauthorizedAccessCacheability() {
}