public function UpdateManagerTest::testSemanticVersion in Lightning Core 8.2
Same name and namespace in other branches
- 8.5 tests/src/Unit/UpdateManagerTest.php \Drupal\Tests\lightning_core\Unit\UpdateManagerTest::testSemanticVersion()
- 8 tests/src/Unit/UpdateManagerTest.php \Drupal\Tests\lightning_core\Unit\UpdateManagerTest::testSemanticVersion()
- 8.3 tests/src/Unit/UpdateManagerTest.php \Drupal\Tests\lightning_core\Unit\UpdateManagerTest::testSemanticVersion()
- 8.4 tests/src/Unit/UpdateManagerTest.php \Drupal\Tests\lightning_core\Unit\UpdateManagerTest::testSemanticVersion()
@covers ::toSemanticVersion
@dataProvider providerSemanticVersion
File
- tests/
src/ Unit/ UpdateManagerTest.php, line 22
Class
- UpdateManagerTest
- @coversDefaultClass \Drupal\lightning_core\UpdateManager
Namespace
Drupal\Tests\lightning_core\UnitCode
public function testSemanticVersion($drupal_version, $semantic_version) {
$this
->assertSame($semantic_version, UpdateManager::toSemanticVersion($drupal_version));
}