function UpdateSemverCoreSecurityCoverageTest::testSecurityCoverageMessage

Same name in other branches
  1. 11.x core/modules/update/tests/src/Functional/UpdateSemverCoreSecurityCoverageTest.php \Drupal\Tests\update\Functional\UpdateSemverCoreSecurityCoverageTest::testSecurityCoverageMessage()

Tests the security coverage messages for Drupal core versions.

File

core/modules/update/tests/src/Functional/UpdateSemverCoreSecurityCoverageTest.php, line 17

Class

UpdateSemverCoreSecurityCoverageTest
Tests the security coverage messages for Drupal core versions.

Namespace

Drupal\Tests\update\Functional

Code

public function testSecurityCoverageMessage() : void {
    foreach (static::securityCoverageMessageProvider() as $case) {
        $this->doTestSecurityCoverageMessage($case['installed_version'], $case['fixture'], $case['requirements_section_heading'], $case['message'], $case['mock_date']);
    }
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.