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

33 lines
920 B
Plaintext
Raw Normal View History

--TEST--
2012-09-05 20:56:59 +00:00
Suggestions are displayed
--COMPOSER--
{
"repositories": [
{
"type": "package",
"package": [
{ "name": "a/a", "version": "1.0.0", "suggest": { "b/b": "an obscure reason" } }
]
}
],
"require": {
"a/a": "1.0.0"
}
}
--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
- Locking a/a (1.0.0)
Writing lock file
Installing dependencies from lock file (including require-dev)
2016-10-29 15:03:08 +00:00
Package operations: 1 install, 0 updates, 0 removals
a/a suggests installing b/b (an obscure reason)
Generating autoload files
--EXPECT--
2014-04-07 09:10:57 +00:00
Installing a/a (1.0.0)