public function InstallerTest::testNoVendorName 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::testNoVendorName()
testNoVendorName
File
- vendor/
composer/ installers/ tests/ Composer/ Installers/ Test/ InstallerTest.php, line 380
Class
Namespace
Composer\Installers\TestCode
public function testNoVendorName() {
$installer = new Installer($this->io, $this->composer);
$package = new Package('sfPhpunitPlugin', '1.0.0', '1.0.0');
$package
->setType('symfony1-plugin');
$result = $installer
->getInstallPath($package);
$this
->assertEquals('plugins/sfPhpunitPlugin/', $result);
}