function EntityTypeConstraintsTest::setUp
Overrides EntityKernelTestBase::setUp
File
-
core/
tests/ Drupal/ KernelTests/ Core/ Entity/ EntityTypeConstraintsTest.php, line 15
Class
- EntityTypeConstraintsTest
- Tests entity level validation constraints.
Namespace
Drupal\KernelTests\Core\EntityCode
protected function setUp() {
parent::setUp();
$this->installEntitySchema('entity_test_constraints');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.