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

28 lines
586 B
Plaintext

--TEST--
Suggestions are not displayed in non-dev mode
--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 --no-dev
--EXPECT-OUTPUT--
Loading composer repositories with package information
Updating dependencies
Package operations: 1 install, 0 updates, 0 removals
Writing lock file
Generating autoload files
--EXPECT--
Installing a/a (1.0.0)