function NodeImportChangeTest::setUp

Same name in other branches
  1. 9 core/modules/node/tests/src/Kernel/Config/NodeImportChangeTest.php \Drupal\Tests\node\Kernel\Config\NodeImportChangeTest::setUp()
  2. 8.9.x core/modules/node/tests/src/Kernel/Config/NodeImportChangeTest.php \Drupal\Tests\node\Kernel\Config\NodeImportChangeTest::setUp()
  3. 11.x core/modules/node/tests/src/Kernel/Config/NodeImportChangeTest.php \Drupal\Tests\node\Kernel\Config\NodeImportChangeTest::setUp()

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

Overrides KernelTestBase::setUp

File

core/modules/node/tests/src/Kernel/Config/NodeImportChangeTest.php, line 32

Class

NodeImportChangeTest
Change content types during config create method invocation.

Namespace

Drupal\Tests\node\Kernel\Config

Code

protected function setUp() : void {
    parent::setUp();
    // Set default storage backend.
    $this->installConfig([
        'system',
        'field',
        'node_test_config',
    ]);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.