1
0
Fork 0

Plugin tests are no longer strictly installer tests

pull/2179/head
Nils Adermann 2013-08-13 15:59:26 +02:00
parent eb966d347f
commit 3e41977be7
10 changed files with 2 additions and 2 deletions

View File

@ -35,7 +35,7 @@ class PluginInstallerTest extends \PHPUnit_Framework_TestCase
$loader = new JsonLoader(new ArrayLoader());
$this->packages = array();
for ($i = 1; $i <= 4; $i++) {
$this->packages[] = $loader->load(__DIR__.'/Fixtures/installer-v'.$i.'/composer.json');
$this->packages[] = $loader->load(__DIR__.'/Fixtures/plugin-v'.$i.'/composer.json');
}
$dm = $this->getMockBuilder('Composer\Downloader\DownloadManager')
@ -183,6 +183,6 @@ class PluginInstallerMock extends PluginInstaller
{
$version = $package->getVersion();
return __DIR__.'/Fixtures/installer-v'.$version[0].'/';
return __DIR__.'/Fixtures/plugin-v'.$version[0].'/';
}
}