Skip to content
Snippets Groups Projects
Commit fe9d38c9 authored by catch's avatar catch
Browse files

Merge branch '3469709-speed-up-updatecontribtest' into '11.x'

Factor out data provider.

See merge request !9303
parents 827acb14 96231349
No related branches found
No related tags found
No related merge requests found
Pipeline #261577 failed
Pipeline: drupal

#261580

    ......@@ -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.
    Please register or to comment