You are here

public function InstallerTest::testTypo3Inflection 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::testTypo3Inflection()

testTypo3Inflection

File

vendor/composer/installers/tests/Composer/Installers/Test/InstallerTest.php, line 393

Class

InstallerTest

Namespace

Composer\Installers\Test

Code

public function testTypo3Inflection() {
  $installer = new Installer($this->io, $this->composer);
  $package = new Package('typo3/fluid', '1.0.0', '1.0.0');
  $package
    ->setAutoload(array(
    'psr-0' => array(
      'TYPO3\\Fluid' => 'Classes',
    ),
  ));
  $package
    ->setType('typo3-flow-package');
  $result = $installer
    ->getInstallPath($package);
  $this
    ->assertEquals('Packages/Application/TYPO3.Fluid/', $result);
}