protected function ExtensionSerializationTest::setUp in Drupal 10
Same name and namespace in other branches
- 8 core/tests/Drupal/Tests/Core/Extension/ExtensionSerializationTest.php \Drupal\Tests\Core\Extension\ExtensionSerializationTest::setUp()
- 9 core/tests/Drupal/Tests/Core/Extension/ExtensionSerializationTest.php \Drupal\Tests\Core\Extension\ExtensionSerializationTest::setUp()
Overrides UnitTestCase::setUp
File
- core/
tests/ Drupal/ Tests/ Core/ Extension/ ExtensionSerializationTest.php, line 21
Class
- ExtensionSerializationTest
- Tests Extension serialization.
Namespace
Drupal\Tests\Core\ExtensionCode
protected function setUp() : void {
parent::setUp();
vfsStream::setup('dummy_app_root');
vfsStream::create([
'core' => [
'modules' => [
'system' => [
'system.info.yml' => file_get_contents($this->root . '/core/modules/system/system.info.yml'),
],
],
],
]);
}