public function ConfigFeaturesImporterServiceTest::testServiceUnavailabilityWhenRequiredModulesMissing in Config Importer and Tools 8
Same name and namespace in other branches
- 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\UnitCode
public function testServiceUnavailabilityWhenRequiredModulesMissing() {
static::assertFalse($this->container
->has('config_import.features_importer'));
}