You are here

protected function ConfigImporterServiceTestBase::setUp in Config Importer and Tools 8

Same name and namespace in other branches
  1. 8.2 tests/src/Unit/ConfigImporterServiceTestBase.php \Drupal\Tests\config_import\Unit\ConfigImporterServiceTestBase::setUp()

Overrides KernelTestBase::setUp

File

tests/src/Unit/ConfigImporterServiceTestBase.php, line 34

Class

ConfigImporterServiceTestBase
Base abstraction for testing the configuration importer service.

Namespace

Drupal\Tests\config_import\Unit

Code

protected function setUp() {
  parent::setUp();
  $this->configImporter = $this->container
    ->get('config_import.importer');
}