summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'UserFunctions/vendor/composer/installers/tests/Composer/Installers/Test/PiwikInstallerTest.php')
-rw-r--r--UserFunctions/vendor/composer/installers/tests/Composer/Installers/Test/PiwikInstallerTest.php63
1 files changed, 0 insertions, 63 deletions
diff --git a/UserFunctions/vendor/composer/installers/tests/Composer/Installers/Test/PiwikInstallerTest.php b/UserFunctions/vendor/composer/installers/tests/Composer/Installers/Test/PiwikInstallerTest.php
deleted file mode 100644
index 8d9ff3f8..00000000
--- a/UserFunctions/vendor/composer/installers/tests/Composer/Installers/Test/PiwikInstallerTest.php
+++ /dev/null
@@ -1,63 +0,0 @@
-<?php
-namespace Composer\Installers\Test;
-
-use Composer\Composer;
-use Composer\Installers\PiwikInstaller;
-use Composer\Package\Package;
-use Composer\Package\PackageInterface;
-
-/**
- * Class PiwikInstallerTest
- *
- * @package Composer\Installers\Test
- */
-class PiwikInstallerTest extends TestCase
-{
- /**
- * @varComposer
- */
- private $composer;
-
- /**
- * @var PackageInterface
- */
- private $io;
-
- /**
- * @var Package
- */
- private $package;
-
- /**
- * setUp
- *
- * @return void
- */
- public function setUp()
- {
- $this->package = new Package('VisitSummary', '1.0', '1.0');
- $this->io = $this->getMock('Composer\IO\PackageInterface');
- $this->composer = new Composer();
- }
-
- /**
- * testInflectPackageVars
- *
- * @return void
- */
- public function testInflectPackageVars()
- {
- $installer = new PiwikInstaller($this->package, $this->composer);
- $result = $installer->inflectPackageVars(array('name' => 'VisitSummary'));
- $this->assertEquals($result, array('name' => 'VisitSummary'));
-
- $installer = new PiwikInstaller($this->package, $this->composer);
- $result = $installer->inflectPackageVars(array('name' => 'visit-summary'));
- $this->assertEquals($result, array('name' => 'VisitSummary'));
-
- $installer = new PiwikInstaller($this->package, $this->composer);
- $result = $installer->inflectPackageVars(array('name' => 'visit_summary'));
- $this->assertEquals($result, array('name' => 'VisitSummary'));
- }
-
-}