You are here

protected function ConstraintsTest::setUp in Drupal 10

Same name and namespace in other branches
  1. 8 core/tests/Drupal/KernelTests/Core/Validation/ConstraintsTest.php \Drupal\KernelTests\Core\Validation\ConstraintsTest::setUp()
  2. 9 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() : void {
  parent::setUp();
  $this
    ->installConfig('config_test');
}