You are here

protected function BundleConstraintValidatorTest::setUp in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/system/src/Tests/Entity/BundleConstraintValidatorTest.php \Drupal\system\Tests\Entity\BundleConstraintValidatorTest::setUp()

Performs setup tasks before each individual test method is run.

Overrides KernelTestBase::setUp

File

core/modules/system/src/Tests/Entity/BundleConstraintValidatorTest.php, line 30
Contains \Drupal\system\Tests\Entity\BundleConstraintValidatorTest.

Class

BundleConstraintValidatorTest
Tests validation constraints for BundleConstraintValidator.

Namespace

Drupal\system\Tests\Entity

Code

protected function setUp() {
  parent::setUp();
  $this
    ->installEntitySchema('user');
  $this->typedData = $this->container
    ->get('typed_data_manager');
}