Update test fixtures + fix test

main
nevvermind 9 years ago
parent 58ded13eb9
commit 681043355f

@ -7,6 +7,6 @@
"class": "Installer\\Plugin" "class": "Installer\\Plugin"
}, },
"require": { "require": {
"composer-plugin-api": "*" "composer-plugin-api": "^1.0"
} }
} }

@ -7,6 +7,6 @@
"class": "Installer\\Plugin2" "class": "Installer\\Plugin2"
}, },
"require": { "require": {
"composer-plugin-api": "*" "composer-plugin-api": "^1.0"
} }
} }

@ -7,6 +7,6 @@
"class": "Installer\\Plugin2" "class": "Installer\\Plugin2"
}, },
"require": { "require": {
"composer-plugin-api": "*" "composer-plugin-api": "^1.0"
} }
} }

@ -10,6 +10,6 @@
] ]
}, },
"require": { "require": {
"composer-plugin-api": "1.0.0" "composer-plugin-api": "^1.0"
} }
} }

@ -147,7 +147,7 @@ class PluginInstallerTest extends TestCase
$this->repository $this->repository
->expects($this->exactly(2)) ->expects($this->exactly(2))
->method('getPackages') ->method('getPackages')
->will($this->returnValue(array())); ->will($this->returnValue(array($this->packages[3])));
$installer = new PluginInstaller($this->io, $this->composer); $installer = new PluginInstaller($this->io, $this->composer);
$this->pm->loadInstalledPlugins(); $this->pm->loadInstalledPlugins();

Loading…
Cancel
Save