1
0
Fork 0

Update test fixtures + fix test

pull/4124/head
nevvermind 2016-01-18 19:14:23 +00:00
parent 58ded13eb9
commit 681043355f
5 changed files with 5 additions and 5 deletions

View File

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

View File

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

View File

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

View File

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

View File

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