function NodeTypeValidationTest::setUp

Overrides ConfigEntityValidationTestBase::setUp

File

core/modules/node/tests/src/Kernel/NodeTypeValidationTest.php, line 36

Class

NodeTypeValidationTest
Tests validation of node_type entities.

Namespace

Drupal\Tests\node\Kernel

Code

protected function setUp() : void {
  parent::setUp();
  $this->installConfig('node');
  $this->entity = $this->createContentType();
}

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