You are here

public function MetapackageUpdateTest::updatedTestData in Drupal 10

Same name and namespace in other branches
  1. 8 core/tests/Drupal/Tests/Composer/Generator/MetapackageUpdateTest.php \Drupal\Tests\Composer\Generator\MetapackageUpdateTest::updatedTestData()
  2. 9 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',
    ],
  ];
}