You are here

protected function NodeBodyFieldStorageTest::setUp in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/node/tests/src/Kernel/NodeBodyFieldStorageTest.php \Drupal\Tests\node\Kernel\NodeBodyFieldStorageTest::setUp()

Overrides KernelTestBase::setUp

File

core/modules/node/tests/src/Kernel/NodeBodyFieldStorageTest.php, line 31

Class

NodeBodyFieldStorageTest
Tests node body field storage.

Namespace

Drupal\Tests\node\Kernel

Code

protected function setUp() : void {
  parent::setUp();
  $this
    ->installSchema('system', 'sequences');

  // Necessary for module uninstall.
  $this
    ->installSchema('user', 'users_data');
  $this
    ->installEntitySchema('user');
  $this
    ->installEntitySchema('node');
  $this
    ->installConfig([
    'field',
    'node',
  ]);
}