You are here

protected function DateFormatResourceTestBase::setUpAuthorization in Drupal 10

Same name and namespace in other branches
  1. 8 core/tests/Drupal/FunctionalTests/Rest/DateFormatResourceTestBase.php \Drupal\FunctionalTests\Rest\DateFormatResourceTestBase::setUpAuthorization()
  2. 9 core/tests/Drupal/FunctionalTests/Rest/DateFormatResourceTestBase.php \Drupal\FunctionalTests\Rest\DateFormatResourceTestBase::setUpAuthorization()

File

core/tests/Drupal/FunctionalTests/Rest/DateFormatResourceTestBase.php, line 33

Class

DateFormatResourceTestBase
ResourceTestBase for DateFormat entity.

Namespace

Drupal\FunctionalTests\Rest

Code

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