You are here

protected function NodeImportCreateTest::setUp in Zircon Profile 8

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

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

Overrides KernelTestBase::setUp

File

core/modules/node/src/Tests/Config/NodeImportCreateTest.php, line 31
Contains \Drupal\node\Tests\Config\NodeImportCreateTest.

Class

NodeImportCreateTest
Create content types during config create method invocation.

Namespace

Drupal\node\Tests\Config

Code

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

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