1
0
Fork 0

Fix tests

pull/8837/head
Jordi Boggiano 2020-04-24 09:07:32 +02:00
parent 755a73baa9
commit d89342dc43
No known key found for this signature in database
GPG Key ID: 7BBD42C429EC80BC
2 changed files with 4 additions and 3 deletions

View File

@ -56,9 +56,9 @@ update --no-install
--EXPECT-INSTALLED-- --EXPECT-INSTALLED--
[ [
{ "name": "a/a", "version": "1.0.0" }, { "name": "a/a", "version": "1.0.0", "type": "library" },
{ "name": "a/c", "version": "1.0.0" }, { "name": "a/b", "version": "1.0.0", "type": "library" },
{ "name": "a/b", "version": "1.0.0" } { "name": "a/c", "version": "1.0.0", "type": "library" }
] ]
--EXPECT-- --EXPECT--

View File

@ -290,6 +290,7 @@ class InstallerTest extends TestCase
$installer $installer
->setDevMode(!$input->getOption('no-dev')) ->setDevMode(!$input->getOption('no-dev'))
->setUpdate(true) ->setUpdate(true)
->setInstall(!$input->getOption('no-install'))
->setDryRun($input->getOption('dry-run')) ->setDryRun($input->getOption('dry-run'))
->setUpdateMirrors($updateMirrors) ->setUpdateMirrors($updateMirrors)
->setUpdateAllowList($packages) ->setUpdateAllowList($packages)