function UninstallKernelTest::setUp
Same name in other branches
- 8.9.x core/modules/system/tests/src/Kernel/Installer/UninstallKernelTest.php \Drupal\Tests\system\Kernel\Installer\UninstallKernelTest::setUp()
- 10 core/modules/system/tests/src/Kernel/Installer/UninstallKernelTest.php \Drupal\Tests\system\Kernel\Installer\UninstallKernelTest::setUp()
- 11.x core/modules/system/tests/src/Kernel/Installer/UninstallKernelTest.php \Drupal\Tests\system\Kernel\Installer\UninstallKernelTest::setUp()
Overrides KernelTestBase::setUp
File
-
core/
modules/ system/ tests/ src/ Kernel/ Installer/ UninstallKernelTest.php, line 32
Class
- UninstallKernelTest
- Tests the uninstallation of modules.
Namespace
Drupal\Tests\system\Kernel\InstallerCode
protected function setUp() : void {
parent::setUp();
$this->installSchema('user', [
'users_data',
]);
$this->installEntitySchema('media');
$this->installEntitySchema('file');
$this->installConfig([
'media',
]);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.