protected function ShortcutTest::setUpAuthorization in Drupal 10
Same name and namespace in other branches
- 8 core/modules/jsonapi/tests/src/Functional/ShortcutTest.php \Drupal\Tests\jsonapi\Functional\ShortcutTest::setUpAuthorization()
- 9 core/modules/jsonapi/tests/src/Functional/ShortcutTest.php \Drupal\Tests\jsonapi\Functional\ShortcutTest::setUpAuthorization()
File
- core/
modules/ jsonapi/ tests/ src/ Functional/ ShortcutTest.php, line 58
Class
- ShortcutTest
- JSON:API integration test for the "Shortcut" content entity type.
Namespace
Drupal\Tests\jsonapi\FunctionalCode
protected function setUpAuthorization($method) {
$this
->grantPermissionsToTestedRole([
'access shortcuts',
'customize shortcut links',
]);
}