protected function WebformSubmissionEntityTest::setUp in Webform 8.5
Same name and namespace in other branches
- 6.x tests/src/Kernel/Entity/WebformSubmissionEntityTest.php \Drupal\Tests\webform\Kernel\Entity\WebformSubmissionEntityTest::setUp()
Overrides KernelTestBase::setUp
File
- tests/
src/ Kernel/ Entity/ WebformSubmissionEntityTest.php, line 27
Class
- WebformSubmissionEntityTest
- Tests the webform entity class.
Namespace
Drupal\Tests\webform\Kernel\EntityCode
protected function setUp() {
parent::setUp();
$this
->installSchema('webform', [
'webform',
]);
$this
->installConfig('webform');
$this
->installEntitySchema('webform_submission');
$this
->installEntitySchema('user');
}