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