You are here

protected function NodeBodyFieldStorageTest::setUp in Drupal 8

Same name and namespace in other branches
  1. 9 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() {
  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',
  ]);
}