Browse Source

Plugin tests are no longer strictly installer tests

Nils Adermann 11 years ago
parent
commit
3e41977be7

+ 0 - 0
tests/Composer/Test/Installer/Fixtures/installer-v1/Installer/Plugin.php → tests/Composer/Test/Plugin/Fixtures/plugin-v1/Installer/Plugin.php


+ 0 - 0
tests/Composer/Test/Installer/Fixtures/installer-v1/composer.json → tests/Composer/Test/Plugin/Fixtures/plugin-v1/composer.json


+ 0 - 0
tests/Composer/Test/Installer/Fixtures/installer-v2/Installer/Plugin2.php → tests/Composer/Test/Plugin/Fixtures/plugin-v2/Installer/Plugin2.php


+ 0 - 0
tests/Composer/Test/Installer/Fixtures/installer-v2/composer.json → tests/Composer/Test/Plugin/Fixtures/plugin-v2/composer.json


+ 0 - 0
tests/Composer/Test/Installer/Fixtures/installer-v3/Installer/Plugin2.php → tests/Composer/Test/Plugin/Fixtures/plugin-v3/Installer/Plugin2.php


+ 0 - 0
tests/Composer/Test/Installer/Fixtures/installer-v3/composer.json → tests/Composer/Test/Plugin/Fixtures/plugin-v3/composer.json


+ 0 - 0
tests/Composer/Test/Installer/Fixtures/installer-v4/Installer/Plugin1.php → tests/Composer/Test/Plugin/Fixtures/plugin-v4/Installer/Plugin1.php


+ 0 - 0
tests/Composer/Test/Installer/Fixtures/installer-v4/Installer/Plugin2.php → tests/Composer/Test/Plugin/Fixtures/plugin-v4/Installer/Plugin2.php


+ 0 - 0
tests/Composer/Test/Installer/Fixtures/installer-v4/composer.json → tests/Composer/Test/Plugin/Fixtures/plugin-v4/composer.json


+ 2 - 2
tests/Composer/Test/Installer/PluginInstallerTest.php → tests/Composer/Test/Plugin/PluginInstallerTest.php

@@ -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].'/';
     }
 }