public function ModuleInstallerTest::testDependencyInvalidCoreInstallNoDependencies in Drupal 8
Same name and namespace in other branches
- 9 core/tests/Drupal/KernelTests/Core/Extension/ModuleInstallerTest.php \Drupal\KernelTests\Core\Extension\ModuleInstallerTest::testDependencyInvalidCoreInstallNoDependencies()
- 10 core/tests/Drupal/KernelTests/Core/Extension/ModuleInstallerTest.php \Drupal\KernelTests\Core\Extension\ModuleInstallerTest::testDependencyInvalidCoreInstallNoDependencies()
Tests no dependencies install with a dependency with invalid core.
@covers ::install
File
- core/
tests/ Drupal/ KernelTests/ Core/ Extension/ ModuleInstallerTest.php, line 141
Class
- ModuleInstallerTest
- Tests the ModuleInstaller class.
Namespace
Drupal\KernelTests\Core\ExtensionCode
public function testDependencyInvalidCoreInstallNoDependencies() {
$this
->assertTrue($this->container
->get('module_installer')
->install([
'system_incompatible_core_version_dependencies_test',
], FALSE));
}