function UninstallKernelTest::setUp

Same name and namespace in other branches
  1. 9 core/modules/system/tests/src/Kernel/Installer/UninstallKernelTest.php \Drupal\Tests\system\Kernel\Installer\UninstallKernelTest::setUp()
  2. 10 core/modules/system/tests/src/Kernel/Installer/UninstallKernelTest.php \Drupal\Tests\system\Kernel\Installer\UninstallKernelTest::setUp()
  3. 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 31

Class

UninstallKernelTest
Tests the uninstallation of modules.

Namespace

Drupal\Tests\system\Kernel\Installer

Code

protected function setUp() {
    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.