You are here

protected function UninstallKernelTest::setUp in Drupal 9

Same name and namespace in other branches
  1. 8 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\Installer

Code

protected function setUp() : void {
  parent::setUp();
  $this
    ->installSchema('user', [
    'users_data',
  ]);
  $this
    ->installEntitySchema('media');
  $this
    ->installEntitySchema('file');
  $this
    ->installConfig([
    'media',
  ]);
}