function AssetControllerTest::setUp
Same name and namespace in other branches
- 11.x core/tests/Drupal/KernelTests/Core/Asset/AssetControllerTest.php \Drupal\KernelTests\Core\Asset\AssetControllerTest::setUp()
Overrides KernelTestBase::setUp
File
-
core/
tests/ Drupal/ KernelTests/ Core/ Asset/ AssetControllerTest.php, line 41
Class
- AssetControllerTest
- Tests that the asset controllers reject invalid aggregate requests.
Namespace
Drupal\KernelTests\Core\AssetCode
protected function setUp() : void {
parent::setUp();
$this->assetResolver = $this->container
->get('asset.resolver');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.