1
0
Fork 0
composer/tests/Composer/Test/Fixtures/installer/suggest-replaced.test

35 lines
928 B
Plaintext
Raw Normal View History

--TEST--
2012-09-05 20:56:59 +00:00
Suggestions are not displayed for packages if they are replaced
--COMPOSER--
{
"repositories": [
{
"type": "package",
"package": [
{ "name": "a/a", "version": "1.0.0", "suggest": { "b/b": "an obscure reason" }, "require": { "c/c": "*" } },
{ "name": "c/c", "version": "1.0.0", "replace": { "b/b": "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
- Installing c/c (1.0.0)
- Installing a/a (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--
2014-04-07 09:10:57 +00:00
Installing c/c (1.0.0)
Installing a/a (1.0.0)