You are here

protected function NodeImportCreateTest::setUp in Drupal 10

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

Set the default field storage backend for fields created during tests.

Overrides KernelTestBase::setUp

File

core/modules/node/tests/src/Kernel/Config/NodeImportCreateTest.php, line 27

Class

NodeImportCreateTest
Create content types during config create method invocation.

Namespace

Drupal\Tests\node\Kernel\Config

Code

protected function setUp() : void {
  parent::setUp();
  $this
    ->installEntitySchema('user');

  // Set default storage backend.
  $this
    ->installConfig([
    'system',
    'field',
  ]);
}