public function InstallerTest::testInstallPath in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/composer/installers/tests/Composer/Installers/Test/InstallerTest.php \Composer\Installers\Test\InstallerTest::testInstallPath()
testInstallPath
@dataProvider dataForTestInstallPath
File
- vendor/
composer/ installers/ tests/ Composer/ Installers/ Test/ InstallerTest.php, line 184
Class
Namespace
Composer\Installers\TestCode
public function testInstallPath($type, $path, $name, $version = '1.0.0') {
$installer = new Installer($this->io, $this->composer);
$package = new Package($name, $version, $version);
$package
->setType($type);
$result = $installer
->getInstallPath($package);
$this
->assertEquals($path, $result);
}