function PathAliasResourceTestBase::setUpAuthorization
Same name in other branches
- 9 core/modules/path_alias/tests/src/Functional/Rest/PathAliasResourceTestBase.php \Drupal\Tests\path_alias\Functional\Rest\PathAliasResourceTestBase::setUpAuthorization()
- 8.9.x core/modules/path_alias/tests/src/Functional/Rest/PathAliasResourceTestBase.php \Drupal\Tests\path_alias\Functional\Rest\PathAliasResourceTestBase::setUpAuthorization()
- 10 core/modules/path_alias/tests/src/Functional/Rest/PathAliasResourceTestBase.php \Drupal\Tests\path_alias\Functional\Rest\PathAliasResourceTestBase::setUpAuthorization()
Overrides ResourceTestBase::setUpAuthorization
File
-
core/
modules/ path_alias/ tests/ src/ Functional/ Rest/ PathAliasResourceTestBase.php, line 44
Class
- PathAliasResourceTestBase
- Base class for path_alias EntityResource tests.
Namespace
Drupal\Tests\path_alias\Functional\RestCode
protected function setUpAuthorization($method) {
$this->grantPermissionsToTestedRole([
'administer url aliases',
]);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.