You are here

protected function WebformSubmissionStorageTest::setUp in Webform 8.5

Same name and namespace in other branches
  1. 6.x tests/src/Kernel/WebformSubmissionStorageTest.php \Drupal\Tests\webform\Kernel\WebformSubmissionStorageTest::setUp()

Overrides KernelTestBase::setUp

File

tests/src/Kernel/WebformSubmissionStorageTest.php, line 27

Class

WebformSubmissionStorageTest
Tests webform submission storage.

Namespace

Drupal\Tests\webform\Kernel

Code

protected function setUp() {
  parent::setUp();
  $this
    ->installEntitySchema('path_alias');
  $this
    ->installSchema('webform', [
    'webform',
  ]);
  $this
    ->installConfig('webform');
  $this
    ->installEntitySchema('webform_submission');
  $this
    ->installEntitySchema('user');
}