You are here

protected function WebformEntityTest::setUp in Webform 6.x

Same name and namespace in other branches
  1. 8.5 tests/src/Functional/WebformEntityTest.php \Drupal\Tests\webform\Functional\WebformEntityTest::setUp()

Overrides WebformBrowserTestBase::setUp

File

tests/src/Functional/WebformEntityTest.php, line 38

Class

WebformEntityTest
Tests for webform entity.

Namespace

Drupal\Tests\webform\Functional

Code

protected function setUp() {
  parent::setUp();

  // Storage.
  $this->submissionStorage = \Drupal::entityTypeManager()
    ->getStorage('webform_submission');
}