You are here

public function ConfigFeaturesImporterServiceTest::testServiceUnavailabilityWhenRequiredModulesMissing in Config Importer and Tools 8

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

Service must not be available when "features" module disabled.

File

tests/src/Unit/ConfigFeaturesImporterServiceTest.php, line 27

Class

ConfigFeaturesImporterServiceTest
Testing features importer service.

Namespace

Drupal\Tests\config_import\Unit

Code

public function testServiceUnavailabilityWhenRequiredModulesMissing() {
  static::assertFalse($this->container
    ->has('config_import.features_importer'));
}