You are here

protected function DateFormatTest::setUpAuthorization in Drupal 10

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

File

core/modules/jsonapi/tests/src/Functional/DateFormatTest.php, line 50

Class

DateFormatTest
JSON:API integration test for the "DateFormat" config entity type.

Namespace

Drupal\Tests\jsonapi\Functional

Code

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