public function ModuleInstallerTest::providerTestInvalidCoreInstall in Drupal 10
Same name and namespace in other branches
- 8 core/tests/Drupal/KernelTests/Core/Extension/ModuleInstallerTest.php \Drupal\KernelTests\Core\Extension\ModuleInstallerTest::providerTestInvalidCoreInstall()
- 9 core/tests/Drupal/KernelTests/Core/Extension/ModuleInstallerTest.php \Drupal\KernelTests\Core\Extension\ModuleInstallerTest::providerTestInvalidCoreInstall()
Data provider for testInvalidCoreInstall().
File
- core/tests/ Drupal/ KernelTests/ Core/ Extension/ ModuleInstallerTest.php, line 105 
Class
- ModuleInstallerTest
- Tests the ModuleInstaller class.
Namespace
Drupal\KernelTests\Core\ExtensionCode
public function providerTestInvalidCoreInstall() {
  return [
    'no dependencies system_core_incompatible_semver_test' => [
      'system_core_incompatible_semver_test',
      FALSE,
    ],
    'install_dependencies system_core_incompatible_semver_test' => [
      'system_core_incompatible_semver_test',
      TRUE,
    ],
  ];
}