function ExtensionStreamTest::setUp
Overrides KernelTestBase::setUp
File
-
core/
tests/ Drupal/ KernelTests/ Core/ StreamWrapper/ ExtensionStreamTest.php, line 46
Class
- ExtensionStreamTest
- Tests extension stream wrappers.
Namespace
Drupal\KernelTests\Core\StreamWrapperCode
public function setUp() : void {
parent::setUp();
foreach ([
'module',
'theme',
] as $scheme) {
$this->streamWrappers[$scheme] = $this->container
->get("stream_wrapper.{$scheme}");
}
$this->container
->get('theme_installer')
->install([
'olivero',
'claro',
]);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.