function TourTest::setUpAuthorization
Same name in other branches
- 9 core/modules/jsonapi/tests/src/Functional/TourTest.php \Drupal\Tests\jsonapi\Functional\TourTest::setUpAuthorization()
- 8.9.x core/modules/jsonapi/tests/src/Functional/TourTest.php \Drupal\Tests\jsonapi\Functional\TourTest::setUpAuthorization()
- 11.x core/modules/tour/tests/src/Functional/Jsonapi/TourTest.php \Drupal\Tests\tour\Functional\Jsonapi\TourTest::setUpAuthorization()
Overrides ResourceTestBase::setUpAuthorization
File
-
core/
modules/ tour/ tests/ src/ Functional/ Jsonapi/ TourTest.php, line 49
Class
- TourTest
- JSON:API integration test for the "Tour" config entity type.
Namespace
Drupal\Tests\tour\Functional\JsonapiCode
protected function setUpAuthorization($method) {
$this->grantPermissionsToTestedRole([
'access tour',
]);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.