function ConstraintsTest::setUp

Same name in other branches
  1. 9 core/tests/Drupal/KernelTests/Core/Validation/ConstraintsTest.php \Drupal\KernelTests\Core\Validation\ConstraintsTest::setUp()
  2. 10 core/tests/Drupal/KernelTests/Core/Validation/ConstraintsTest.php \Drupal\KernelTests\Core\Validation\ConstraintsTest::setUp()
  3. 11.x core/tests/Drupal/KernelTests/Core/Validation/ConstraintsTest.php \Drupal\KernelTests\Core\Validation\ConstraintsTest::setUp()

Overrides KernelTestBase::setUp

File

core/tests/Drupal/KernelTests/Core/Validation/ConstraintsTest.php, line 22

Class

ConstraintsTest
Tests various low level constrains provided by core.

Namespace

Drupal\KernelTests\Core\Validation

Code

protected function setUp() {
    parent::setUp();
    $this->installConfig('config_test');
}

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