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