function UpdateSemverTestBase::refreshUpdateStatus
Same name in other branches
- 10 core/modules/update/tests/src/Functional/UpdateSemverTestBase.php \Drupal\Tests\update\Functional\UpdateSemverTestBase::refreshUpdateStatus()
- 11.x core/modules/update/tests/src/Functional/UpdateSemverTestBase.php \Drupal\Tests\update\Functional\UpdateSemverTestBase::refreshUpdateStatus()
Overrides UpdateTestBase::refreshUpdateStatus
9 calls to UpdateSemverTestBase::refreshUpdateStatus()
- UpdateSemverCoreTest::testDatestampMismatch in core/
modules/ update/ tests/ src/ Functional/ UpdateSemverCoreTest.php - Ensures proper results where there are date mismatches among modules.
- UpdateSemverCoreTest::testSecurityCoverageMessage in core/
modules/ update/ tests/ src/ Functional/ UpdateSemverCoreTest.php - Tests the security coverage messages for Drupal core versions.
- UpdateSemverCoreTest::testServiceUnavailable in core/
modules/ update/ tests/ src/ Functional/ UpdateSemverCoreTest.php - Tests the Update Manager module when the update server returns 503 errors.
- UpdateSemverTestBase::testMajorUpdateAvailable in core/
modules/ update/ tests/ src/ Functional/ UpdateSemverTestBase.php - Tests the Update Manager module when a major update is available.
- UpdateSemverTestBase::testNormalUpdateAvailable in core/
modules/ update/ tests/ src/ Functional/ UpdateSemverTestBase.php - Tests the Update Manager module when one normal update is available.
File
-
core/
modules/ update/ tests/ src/ Functional/ UpdateSemverTestBase.php, line 433
Class
- UpdateSemverTestBase
- Common test methods for projects that use semver version releases.
Namespace
Drupal\Tests\update\FunctionalCode
protected function refreshUpdateStatus($xml_map, $url = 'update-test') {
if (!isset($xml_map['drupal'])) {
$xml_map['drupal'] = '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.