function ConfigurableLanguageTest::setUpAuthorization
Same name in other branches
- 9 core/modules/jsonapi/tests/src/Functional/ConfigurableLanguageTest.php \Drupal\Tests\jsonapi\Functional\ConfigurableLanguageTest::setUpAuthorization()
- 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()
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 50
Class
- ConfigurableLanguageTest
- JSON:API integration test for the "ConfigurableLanguage" config entity type.
Namespace
Drupal\Tests\jsonapi\FunctionalCode
protected function setUpAuthorization($method) : void {
$this->grantPermissionsToTestedRole([
'administer languages',
]);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.