protected function RestRegisterUserTest::getExpectedUnauthorizedAccessCacheability in Drupal 9
Same name and namespace in other branches
- 8 core/modules/user/tests/src/Functional/RestRegisterUserTest.php \Drupal\Tests\user\Functional\RestRegisterUserTest::getExpectedUnauthorizedAccessCacheability()
Returns the expected cacheability of an unauthorized access response.
Return value
\Drupal\Core\Cache\RefinableCacheableDependencyInterface The expected cacheability.
Overrides ResourceTestBase::getExpectedUnauthorizedAccessCacheability
File
- core/
modules/ user/ tests/ src/ Functional/ RestRegisterUserTest.php, line 269
Class
- RestRegisterUserTest
- Tests user registration via REST resource.
Namespace
Drupal\Tests\user\FunctionalCode
protected function getExpectedUnauthorizedAccessCacheability() {
}