You are here

public function PackageManagerTest::testInstalledPackages in Composer Manager 8

@covers ::getInstalledPackages

File

tests/src/Unit/PackageManagerTest.php, line 157

Class

PackageManagerTest
@coversDefaultClass \Drupal\composer_manager\PackageManager @group composer_manager

Namespace

Drupal\Tests\composer_manager\Unit

Code

public function testInstalledPackages() {
  $installed_packages = $this->manager
    ->getInstalledPackages();
  $this
    ->assertEquals($this->packages['installed'], $installed_packages);
}