You are here

abstract protected function UpdateSemverTestBase::setProjectInstalledVersion in Drupal 9

Same name and namespace in other branches
  1. 10 core/modules/update/tests/src/Functional/UpdateSemverTestBase.php \Drupal\Tests\update\Functional\UpdateSemverTestBase::setProjectInstalledVersion()

Sets the project installed version.

Parameters

string $version: The version number.

6 calls to UpdateSemverTestBase::setProjectInstalledVersion()
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.
UpdateSemverTestBase::testNoUpdatesAvailable in core/modules/update/tests/src/Functional/UpdateSemverTestBase.php
Tests the Update Manager module when no updates are available.
UpdateSemverTestBase::testRevokedRelease in core/modules/update/tests/src/Functional/UpdateSemverTestBase.php
Tests messages when a project release is unpublished.
UpdateSemverTestBase::testSecurityUpdateAvailability in core/modules/update/tests/src/Functional/UpdateSemverTestBase.php
Tests the Update Manager module when a security update is available.

... See full list

2 methods override UpdateSemverTestBase::setProjectInstalledVersion()
UpdateSemverContribTest::setProjectInstalledVersion in core/modules/update/tests/src/Functional/UpdateSemverContribTest.php
Sets the project installed version.
UpdateSemverCoreTest::setProjectInstalledVersion in core/modules/update/tests/src/Functional/UpdateSemverCoreTest.php
Sets the version to x.x.x when no project-specific mapping is defined.

File

core/modules/update/tests/src/Functional/UpdateSemverTestBase.php, line 461

Class

UpdateSemverTestBase
Common test methods for projects that use semver version releases.

Namespace

Drupal\Tests\update\Functional

Code

protected abstract function setProjectInstalledVersion($version);