function MetapackageUpdateTest::updatedTestData

Same name in other branches
  1. 8.9.x core/tests/Drupal/Tests/Composer/Generator/MetapackageUpdateTest.php \Drupal\Tests\Composer\Generator\MetapackageUpdateTest::updatedTestData()
  2. 10 core/tests/Drupal/Tests/Composer/Generator/MetapackageUpdateTest.php \Drupal\Tests\Composer\Generator\MetapackageUpdateTest::updatedTestData()
  3. 11.x core/tests/Drupal/Tests/Composer/Generator/MetapackageUpdateTest.php \Drupal\Tests\Composer\Generator\MetapackageUpdateTest::updatedTestData()

Provides test data for testUpdated.

File

core/tests/Drupal/Tests/Composer/Generator/MetapackageUpdateTest.php, line 23

Class

MetapackageUpdateTest
Test to see if the metapackages are up-to-date with the root composer.lock.

Namespace

Drupal\Tests\Composer\Generator

Code

public function updatedTestData() {
    return [
        [
            DrupalCoreRecommendedBuilder::class,
            'composer/Metapackage/CoreRecommended',
        ],
        [
            DrupalDevDependenciesBuilder::class,
            'composer/Metapackage/DevDependencies',
        ],
        [
            DrupalPinnedDevDependenciesBuilder::class,
            'composer/Metapackage/PinnedDevDependencies',
        ],
    ];
}

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