You are here

protected function NodeImportExportTest::setUp in Acquia Content Hub 8.2

Throws

\Exception

Overrides ImportExportTestBase::setUp

File

tests/src/Kernel/NodeImportExportTest.php, line 65

Class

NodeImportExportTest
Tests node imports and exports.

Namespace

Drupal\Tests\acquia_contenthub\Kernel

Code

protected function setUp() {
  parent::setUp();
  $this
    ->installEntitySchema('user');
  $this
    ->installSchema('user', [
    'users_data',
  ]);
  $this
    ->installEntitySchema('node');
  $this
    ->installSchema('node', [
    'node_access',
  ]);
  $this
    ->installEntitySchema('taxonomy_term');
  $this
    ->installEntitySchema('file');
  $this
    ->installSchema('file', [
    'file_usage',
  ]);
  $this
    ->installEntitySchema('workflow');
  $this
    ->installEntitySchema('content_moderation_state');
  $this
    ->drupalSetUpCurrentUser();
}