You are here

public function ModuleVersionTest::providerInvalidVersionCorePrefix 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::providerInvalidVersionCorePrefix()

Data provider for testInvalidVersionCorePrefix().

File

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

Class

ModuleVersionTest
@coversDefaultClass \Drupal\update\ModuleVersion

Namespace

Drupal\Tests\update\Unit

Code

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