protected function RoleResourceTestBase::setUpAuthorization in Drupal 10
Same name and namespace in other branches
- 8 core/modules/user/tests/src/Functional/Rest/RoleResourceTestBase.php \Drupal\Tests\user\Functional\Rest\RoleResourceTestBase::setUpAuthorization()
- 9 core/modules/user/tests/src/Functional/Rest/RoleResourceTestBase.php \Drupal\Tests\user\Functional\Rest\RoleResourceTestBase::setUpAuthorization()
File
- core/
modules/ user/ tests/ src/ Functional/ Rest/ RoleResourceTestBase.php, line 28
Class
Namespace
Drupal\Tests\user\Functional\RestCode
protected function setUpAuthorization($method) {
$this
->grantPermissionsToTestedRole([
'administer permissions',
]);
}