You are here

public function WebformImportExportTest::setUp in Acquia Content Hub 8.2

Throws

\Exception

Overrides ImportExportTestBase::setUp

File

tests/src/Kernel/WebformImportExportTest.php, line 50

Class

WebformImportExportTest
Tests for Webform syndication.

Namespace

Drupal\Tests\acquia_contenthub\Kernel

Code

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

  // Necessary to avoid errors when collecting path alias dependencies.
  $this
    ->setUpCurrentUser();
}