Skip to content
Snippets Groups Projects
Verified Commit 1bdf2bda authored by Théodore Biadala's avatar Théodore Biadala
Browse files

Issue #3469709 by catch, pooja_sharma, smustgrave, quietone: Speed up UpdateContribTest

(cherry picked from commit 6d66158e)
parent 9f053f65
No related branches found
No related tags found
3 merge requests!11769Issue #3517987: Add option to contextual filters to encode slashes in query parameter.,!11185Issue #3477324 by andypost, alexpott: Fix usage of str_getcsv() and fgetcsv() for PHP 8.4,!9944Issue #3483353: Consider making the createCopy config action optionally fail...
Pipeline #265841 passed with warnings
Pipeline: drupal

#265844

    ......@@ -585,6 +585,15 @@ public function testCoreCompatibilityMessage(): void {
    $this->assertCoreCompatibilityMessage('8.x-2.2', '8.1.1', 'Also available:', FALSE);
    }
    /**
    * Tests update status of security releases.
    */
    public function testSecurityUpdateAvailability(): void {
    foreach (static::securityUpdateAvailabilityProvider() as $case) {
    $this->doTestSecurityUpdateAvailability($case['module_version'], $case['expected_security_releases'], $case['expected_update_message_type'], $case['fixture']);
    }
    }
    /**
    * Tests update status of security releases.
    *
    ......@@ -596,10 +605,8 @@ public function testCoreCompatibilityMessage(): void {
    * The type of update message expected.
    * @param string $fixture
    * The fixture file to use.
    *
    * @dataProvider securityUpdateAvailabilityProvider
    */
    public function testSecurityUpdateAvailability($module_version, array $expected_security_releases, $expected_update_message_type, $fixture): void {
    protected function doTestSecurityUpdateAvailability($module_version, array $expected_security_releases, $expected_update_message_type, $fixture): void {
    $this->mockInstalledExtensionsInfo([
    'aaa_update_test' => [
    'project' => 'aaa_update_test',
    ......
    0% Loading or .
    You are about to add 0 people to the discussion. Proceed with caution.
    Finish editing this message first!
    Please register or to comment