protected function NodeBodyFieldStorageTest::setUp in Drupal 9
Same name and namespace in other branches
- 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\KernelCode
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',
]);
}