You are here

public function InstallerTest::testNoVendorName in Zircon Profile 8.0

Same name and namespace in other branches
  1. 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

InstallerTest

Namespace

Composer\Installers\Test

Code

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);
}