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

31 lines
707 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
Lock file operations: 1 install, 0 updates, 0 removals
- Installing a/a (1.0.0)
Writing lock file
Installing dependencies from lock file
Package operations: 1 install, 0 updates, 0 removals
Generating autoload files
--EXPECT--
Installing a/a (1.0.0)