You are here

protected function RdfMappingResourceTestBase::setUpAuthorization in Drupal 10

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

File

core/modules/rdf/tests/src/Functional/Rest/RdfMappingResourceTestBase.php, line 29

Class

RdfMappingResourceTestBase

Namespace

Drupal\Tests\rdf\Functional\Rest

Code

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