function FakeSiteFixtureTest::getExpectedFakeSitePackages

Gets the expected packages in the `fake_site` fixture.

Return value

string[] The package names.

File

core/modules/package_manager/tests/src/Kernel/FakeSiteFixtureTest.php, line 108

Class

FakeSiteFixtureTest
Test that the 'fake-site' fixture is a valid starting point.

Namespace

Drupal\Tests\package_manager\Kernel

Code

private static function getExpectedFakeSitePackages() : array {
    $packages = [
        'drupal/core',
        'drupal/core-recommended',
        'drupal/core-dev',
    ];
    sort($packages);
    return $packages;
}

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