You are here

public function MediaWikiInstallerTest::testInflectPackageVars in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/composer/installers/tests/Composer/Installers/Test/MediaWikiInstallerTest.php \Composer\Installers\Test\MediaWikiInstallerTest::testInflectPackageVars()

@dataProvider packageNameInflectionProvider

File

vendor/composer/installers/tests/Composer/Installers/Test/MediaWikiInstallerTest.php, line 26

Class

MediaWikiInstallerTest

Namespace

Composer\Installers\Test

Code

public function testInflectPackageVars($type, $name, $expected) {
  $this
    ->assertEquals($this->installer
    ->inflectPackageVars(array(
    'name' => $name,
    'type' => $type,
  )), array(
    'name' => $expected,
    'type' => $type,
  ));
}