You are here

public function ValidReferenceConstraintValidatorTest::setUp in Zircon Profile 8

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

@inheritdoc

Overrides EntityUnitTestBase::setUp

File

core/modules/system/src/Tests/Entity/ValidReferenceConstraintValidatorTest.php, line 35
Contains \Drupal\system\Tests\Entity\ValidReferenceConstraintValidatorTest.

Class

ValidReferenceConstraintValidatorTest
Tests validation constraints for ValidReferenceConstraintValidator.

Namespace

Drupal\system\Tests\Entity

Code

public function setUp() {
  parent::setUp();
  $this
    ->installSchema('user', array(
    'users_data',
  ));
  $this->typedData = $this->container
    ->get('typed_data_manager');
}