protected function DateFormatResourceTestBase::setUpAuthorization in Drupal 10
Same name and namespace in other branches
- 8 core/tests/Drupal/FunctionalTests/Rest/DateFormatResourceTestBase.php \Drupal\FunctionalTests\Rest\DateFormatResourceTestBase::setUpAuthorization()
- 9 core/tests/Drupal/FunctionalTests/Rest/DateFormatResourceTestBase.php \Drupal\FunctionalTests\Rest\DateFormatResourceTestBase::setUpAuthorization()
File
- core/
tests/ Drupal/ FunctionalTests/ Rest/ DateFormatResourceTestBase.php, line 33
Class
- DateFormatResourceTestBase
- ResourceTestBase for DateFormat entity.
Namespace
Drupal\FunctionalTests\RestCode
protected function setUpAuthorization($method) {
$this
->grantPermissionsToTestedRole([
'administer site configuration',
]);
}