function UpdateSemverTestBase::refreshUpdateStatus
Same name in other branches
- 9 core/modules/update/tests/src/Functional/UpdateSemverTestBase.php \Drupal\Tests\update\Functional\UpdateSemverTestBase::refreshUpdateStatus()
- 10 core/modules/update/tests/src/Functional/UpdateSemverTestBase.php \Drupal\Tests\update\Functional\UpdateSemverTestBase::refreshUpdateStatus()
Overrides UpdateTestBase::refreshUpdateStatus
5 calls to UpdateSemverTestBase::refreshUpdateStatus()
- UpdateSemverContribTestBase::testUpdatesLegacyToSemver in core/
modules/ update/ tests/ src/ Functional/ UpdateSemverContribTestBase.php - Tests updates from legacy versions to the semver versions.
- UpdateSemverCoreSecurityCoverageTest::doTestSecurityCoverageMessage in core/
modules/ update/ tests/ src/ Functional/ UpdateSemverCoreSecurityCoverageTest.php - Tests the security coverage messages for Drupal core versions.
- UpdateSemverCoreTest::testDatestampMismatch in core/
modules/ update/ tests/ src/ Functional/ UpdateSemverCoreTest.php - Ensures proper results where there are date mismatches among modules.
- UpdateSemverCoreTest::testDevNoReleaseDate in core/
modules/ update/ tests/ src/ Functional/ UpdateSemverCoreTest.php - Tests when a dev release does not have a date.
- UpdateSemverCoreTest::testServiceUnavailable in core/
modules/ update/ tests/ src/ Functional/ UpdateSemverCoreTest.php - Tests the Update Manager module when the update server returns 503 errors.
File
-
core/
modules/ update/ tests/ src/ Functional/ UpdateSemverTestBase.php, line 55
Class
- UpdateSemverTestBase
- Common setup and utility methods to test projects that use semver releases.
Namespace
Drupal\Tests\update\FunctionalCode
protected function refreshUpdateStatus($xml_map, $url = 'update-test') {
if (!isset($xml_map['drupal'])) {
$xml_map['drupal'] = '8.0.0';
}
parent::refreshUpdateStatus($xml_map, $url);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.