You are here

public function ModuleInstallerTest::providerTestInvalidCoreInstall in Drupal 9

Same name and namespace in other branches
  1. 8 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\Extension

Code

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,
    ],
  ];
}