public function InstallerTest::testTypo3Inflection in Zircon Profile 8
Same name and namespace in other branches
- 8.0 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
Namespace
Composer\Installers\TestCode
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);
}