function ConfigurableLanguageTest::setUpAuthorization
Same name in other branches
- 8.9.x core/modules/jsonapi/tests/src/Functional/ConfigurableLanguageTest.php \Drupal\Tests\jsonapi\Functional\ConfigurableLanguageTest::setUpAuthorization()
- 10 core/modules/jsonapi/tests/src/Functional/ConfigurableLanguageTest.php \Drupal\Tests\jsonapi\Functional\ConfigurableLanguageTest::setUpAuthorization()
- 11.x core/modules/jsonapi/tests/src/Functional/ConfigurableLanguageTest.php \Drupal\Tests\jsonapi\Functional\ConfigurableLanguageTest::setUpAuthorization()
Overrides ResourceTestBase::setUpAuthorization
1 call to ConfigurableLanguageTest::setUpAuthorization()
- ConfigurableLanguageTest::testGetIndividualDefaultConfig in core/
modules/ jsonapi/ tests/ src/ Functional/ ConfigurableLanguageTest.php - Tests a GET request for a default config entity, which has a _core key.
File
-
core/
modules/ jsonapi/ tests/ src/ Functional/ ConfigurableLanguageTest.php, line 49
Class
- ConfigurableLanguageTest
- JSON:API integration test for the "ConfigurableLanguage" config entity type.
Namespace
Drupal\Tests\jsonapi\FunctionalCode
protected function setUpAuthorization($method) {
$this->grantPermissionsToTestedRole([
'administer languages',
]);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.