1
0
Fork 0

Correctly use install and update commands in our installer tests

pull/7936/head
Nils Adermann 2019-11-08 12:31:26 +01:00
parent 97ec2d7b61
commit ff5ec54f04
7 changed files with 7 additions and 5 deletions

View File

@ -22,7 +22,7 @@ Abandoned packages are flagged
}
}
--RUN--
install
update
--EXPECT-OUTPUT--
Loading composer repositories with package information
Updating dependencies

View File

@ -19,7 +19,7 @@ Broken dependencies should not lead to a replacer being installed which is not m
}
}
--RUN--
install
update
--EXPECT-OUTPUT--
Loading composer repositories with package information
Updating dependencies

View File

@ -28,7 +28,7 @@ Present a clear error message when config.platform.php version results in a conf
}
--RUN--
install
update
--EXPECT-OUTPUT--
Loading composer repositories with package information

View File

@ -17,7 +17,7 @@ Suggestions are not displayed for installed packages
}
}
--RUN--
install
update
--EXPECT-OUTPUT--
Loading composer repositories with package information
Updating dependencies

View File

@ -17,6 +17,7 @@ Suggestions are not displayed in non-dev mode
--RUN--
install --no-dev
--EXPECT-OUTPUT--
<warning>No lock file found. Updating dependencies instead of installing from lock file. Use composer update over composer install if you do not have a lock file.</warning>
Loading composer repositories with package information
Updating dependencies
Lock file operations: 1 install, 0 updates, 0 removals

View File

@ -17,7 +17,7 @@ Suggestions are not displayed for packages if they are replaced
}
}
--RUN--
install
update
--EXPECT-OUTPUT--
Loading composer repositories with package information
Updating dependencies

View File

@ -17,6 +17,7 @@ Suggestions are displayed
--RUN--
install
--EXPECT-OUTPUT--
<warning>No lock file found. Updating dependencies instead of installing from lock file. Use composer update over composer install if you do not have a lock file.</warning>
Loading composer repositories with package information
Updating dependencies
Lock file operations: 1 install, 0 updates, 0 removals