You are here

public function ModuleVersionTest::providerInvalidBranchCorePrefix in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/update/tests/src/Unit/ModuleVersionTest.php \Drupal\Tests\update\Unit\ModuleVersionTest::providerInvalidBranchCorePrefix()

Data provider for testInvalidBranchCorePrefix().

File

core/modules/update/tests/src/Unit/ModuleVersionTest.php, line 292

Class

ModuleVersionTest
@coversDefaultClass \Drupal\update\ModuleVersion

Namespace

Drupal\Tests\update\Unit

Code

public function providerInvalidBranchCorePrefix() {
  return static::createKeyedTestCases([
    '6.x-1.',
    '7.x-1.',
    '9.x-1.',
    '10.x-1.',
  ]);
}