You are here

public function WebformEncryptSubmissionStorageTest::setUp in Webform Encrypt 8

Overrides KernelTestBase::setUp

File

tests/src/Kernel/WebformEncryptSubmissionStorageTest.php, line 38

Class

WebformEncryptSubmissionStorageTest
Tests webform submission storage.

Namespace

Drupal\Tests\webform_encrypt\Kernel

Code

public function setUp() {
  parent::setUp();
  $this
    ->installSchema('webform', [
    'webform',
  ]);
  $this
    ->installConfig('webform');
  $this
    ->installConfig('encrypt');
  $this
    ->installConfig('webform_encrypt_test');
  $this
    ->installConfig('webform_encrypt');
  $this
    ->installConfig('key');
  $this
    ->installEntitySchema('key');
  $this
    ->installEntitySchema('webform_submission');
  $this
    ->installEntitySchema('user');
}