You are here

public function InstallerTest::testGetCakePHPInstallPathException in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/composer/installers/tests/Composer/Installers/Test/InstallerTest.php \Composer\Installers\Test\InstallerTest::testGetCakePHPInstallPathException()

testGetCakePHPInstallPathException

@expectedException \InvalidArgumentException

Return value

void

File

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

Class

InstallerTest

Namespace

Composer\Installers\Test

Code

public function testGetCakePHPInstallPathException() {
  $installer = new Installer($this->io, $this->composer);
  $package = new Package('shama/ftp', '1.0.0', '1.0.0');
  $package
    ->setType('cakephp-whoops');
  $result = $installer
    ->getInstallPath($package);
}