function UpdateCoreTest::assertVersionUpdateLinks
Overrides UpdateTestBase::assertVersionUpdateLinks
1 call to UpdateCoreTest::assertVersionUpdateLinks()
- UpdateCoreTest::testNormalUpdateAvailable in core/
modules/ update/ tests/ src/ Functional/ UpdateCoreTest.php - Tests the Update Manager module when one normal update is available.
File
-
core/
modules/ update/ tests/ src/ Functional/ UpdateCoreTest.php, line 929
Class
- UpdateCoreTest
- Tests the Update Manager module through a series of functional tests using mock XML data.
Namespace
Drupal\Tests\update\FunctionalCode
protected function assertVersionUpdateLinks($label, $version, $download_version = NULL) {
// Test XML files for Drupal core use '-' in the version number for the
// download link.
$download_version = str_replace('.', '-', $version);
parent::assertVersionUpdateLinks($label, $version, $download_version);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.