You are here

protected function PathAliasTest::setUpAuthorization in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/jsonapi/tests/src/Functional/PathAliasTest.php \Drupal\Tests\jsonapi\Functional\PathAliasTest::setUpAuthorization()
  2. 9 core/modules/jsonapi/tests/src/Functional/PathAliasTest.php \Drupal\Tests\jsonapi\Functional\PathAliasTest::setUpAuthorization()

File

core/modules/jsonapi/tests/src/Functional/PathAliasTest.php, line 56

Class

PathAliasTest
JSON:API integration test for the "PathAlias" content entity type.

Namespace

Drupal\Tests\jsonapi\Functional

Code

protected function setUpAuthorization($method) {
  $this
    ->grantPermissionsToTestedRole([
    'administer url aliases',
  ]);
}