function ModuleInstallerTest::testDependencyInvalidCoreInstallNoDependencies
Same name 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()
- 11.x 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));
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.