35 lines
853 B
Plaintext
35 lines
853 B
Plaintext
--TEST--
|
|
Suggestions are not displayed for installed packages
|
|
--COMPOSER--
|
|
{
|
|
"repositories": [
|
|
{
|
|
"type": "package",
|
|
"package": [
|
|
{ "name": "a/a", "version": "1.0.0", "suggest": { "b/b": "an obscure reason" } },
|
|
{ "name": "b/b", "version": "1.0.0" }
|
|
]
|
|
}
|
|
],
|
|
"require": {
|
|
"a/a": "1.0.0",
|
|
"b/b": "1.0.0"
|
|
}
|
|
}
|
|
--RUN--
|
|
update
|
|
--EXPECT-OUTPUT--
|
|
Loading composer repositories with package information
|
|
Updating dependencies
|
|
Lock file operations: 2 installs, 0 updates, 0 removals
|
|
- Locking a/a (1.0.0)
|
|
- Locking b/b (1.0.0)
|
|
Writing lock file
|
|
Installing dependencies from lock file (including require-dev)
|
|
Package operations: 2 installs, 0 updates, 0 removals
|
|
Generating autoload files
|
|
|
|
--EXPECT--
|
|
Installing a/a (1.0.0)
|
|
Installing b/b (1.0.0)
|