function ExtensionSerializationTest::setUp
Same name in other branches
- 9 core/tests/Drupal/Tests/Core/Extension/ExtensionSerializationTest.php \Drupal\Tests\Core\Extension\ExtensionSerializationTest::setUp()
- 8.9.x core/tests/Drupal/Tests/Core/Extension/ExtensionSerializationTest.php \Drupal\Tests\Core\Extension\ExtensionSerializationTest::setUp()
- 11.x 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 23
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'),
],
],
],
]);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.