function UpdateSemverCoreTestBase::setProjectInstalledVersion
Same name in other branches
- 10 core/modules/update/tests/src/Functional/UpdateSemverCoreTestBase.php \Drupal\Tests\update\Functional\UpdateSemverCoreTestBase::setProjectInstalledVersion()
Overrides UpdateSemverTestBase::setProjectInstalledVersion
3 calls to UpdateSemverCoreTestBase::setProjectInstalledVersion()
- UpdateSemverCoreSecurityCoverageTest::doTestSecurityCoverageMessage in core/
modules/ update/ tests/ src/ Functional/ UpdateSemverCoreSecurityCoverageTest.php - Tests the security coverage messages for Drupal core versions.
- UpdateSemverCoreTest::testBrokenThenFixedUpdates in core/
modules/ update/ tests/ src/ Functional/ UpdateSemverCoreTest.php - Checks that Drupal recovers after problems connecting to update server.
- UpdateSemverCoreTest::testDevNoReleaseDate in core/
modules/ update/ tests/ src/ Functional/ UpdateSemverCoreTest.php - Tests when a dev release does not have a date.
File
-
core/
modules/ update/ tests/ src/ Functional/ UpdateSemverCoreTestBase.php, line 33
Class
- UpdateSemverCoreTestBase
- Base class for Update manager semantic versioning tests of Drupal core.
Namespace
Drupal\Tests\update\FunctionalCode
protected function setProjectInstalledVersion($version) {
$this->mockDefaultExtensionsInfo([
'version' => $version,
]);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.