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. 8.9.x core/tests/Drupal/KernelTests/Core/Validation/ConstraintsTest.php \Drupal\KernelTests\Core\Validation\ConstraintsTest::setUp()
  3. 10 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 24

Class

ConstraintsTest
Tests various low level constrains provided by core.

Namespace

Drupal\KernelTests\Core\Validation

Code

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

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