You are here

protected function ImportExportTestBase::setUp in Acquia Content Hub 8.2

Overrides EntityKernelTestBase::setUp

18 calls to ImportExportTestBase::setUp()
BlockTest::setUp in tests/src/Kernel/BlockTest.php
ConfigEntityImportWithLocalNullUuidTest::setUp in tests/src/Kernel/ConfigEntityImportWithLocalNullUuidTest.php
ConfigEntityTranslationTest::setUp in tests/src/Kernel/ConfigEntityTranslationTest.php
FileImportExportTest::setUp in tests/src/Kernel/FileImportExportTest.php
MediaImportExportTest::setUp in tests/src/Kernel/MediaImportExportTest.php

... See full list

18 methods override ImportExportTestBase::setUp()
BlockTest::setUp in tests/src/Kernel/BlockTest.php
ConfigEntityImportWithLocalNullUuidTest::setUp in tests/src/Kernel/ConfigEntityImportWithLocalNullUuidTest.php
ConfigEntityTranslationTest::setUp in tests/src/Kernel/ConfigEntityTranslationTest.php
FileImportExportTest::setUp in tests/src/Kernel/FileImportExportTest.php
MediaImportExportTest::setUp in tests/src/Kernel/MediaImportExportTest.php

... See full list

File

tests/src/Kernel/ImportExportTestBase.php, line 72

Class

ImportExportTestBase
Base for testing exports and imports.

Namespace

Drupal\Tests\acquia_contenthub\Kernel

Code

protected function setUp() {
  if (version_compare(\Drupal::VERSION, '9.0', '>=')) {
    static::$modules[] = 'path_alias';
  }
  parent::setUp();
  if (version_compare(\Drupal::VERSION, '8.8.0', '>=')) {
    $this
      ->installEntitySchema('path_alias');
  }
}