You are here

protected function WebformSubmissionPurgeApiTest::setUp in Webform 8.5

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

Overrides KernelTestBase::setUp

File

tests/src/Kernel/WebformSubmissionPurgeApiTest.php, line 35

Class

WebformSubmissionPurgeApiTest
Defines a class for testing webform submission purge APIs.

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');
}