You are here

public function ModuleVersionTest::provideInvalidBranch in Drupal 8

Same name and namespace in other branches
  1. 9 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 368

Class

ModuleVersionTest
@coversDefaultClass \Drupal\update\ModuleVersion

Namespace

Drupal\Tests\update\Unit

Code

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