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