public function ModuleVersionTest::provideInvalidBranch in Drupal 9
Same name and namespace in other branches
- 8 core/modules/update/tests/src/Unit/ModuleVersionTest.php \Drupal\Tests\update\Unit\ModuleVersionTest::provideInvalidBranch()
Data provider for testInvalidBranch().
File
- core/
modules/ update/ tests/ src/ Unit/ ModuleVersionTest.php, line 369
Class
- ModuleVersionTest
- @coversDefaultClass \Drupal\update\ModuleVersion
Namespace
Drupal\Tests\update\UnitCode
public function provideInvalidBranch() {
return self::createKeyedTestCases([
'8.x-1.0',
'8.x-2.x',
'2.x-1.0',
'1.1',
'1.x',
'1.1.x',
'1.1.1',
'1.1.1.1',
]);
}