function RdfMappingTest::setUpAuthorization

Same name in other branches
  1. 8.9.x core/modules/jsonapi/tests/src/Functional/RdfMappingTest.php \Drupal\Tests\jsonapi\Functional\RdfMappingTest::setUpAuthorization()

Overrides ResourceTestBase::setUpAuthorization

File

core/modules/rdf/tests/src/Functional/Jsonapi/RdfMappingTest.php, line 49

Class

RdfMappingTest
JSON:API integration test for the "RdfMapping" config entity type.

Namespace

Drupal\Tests\rdf\Functional\Jsonapi

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.