suggest-uninstalled.test 629 B

12345678910111213141516171819202122232425262728
  1. --TEST--
  2. Suggestions are displayed
  3. --COMPOSER--
  4. {
  5. "repositories": [
  6. {
  7. "type": "package",
  8. "package": [
  9. { "name": "a/a", "version": "1.0.0", "suggest": { "b/b": "an obscure reason" } }
  10. ]
  11. }
  12. ],
  13. "require": {
  14. "a/a": "1.0.0"
  15. }
  16. }
  17. --RUN--
  18. install
  19. --EXPECT-OUTPUT--
  20. Loading composer repositories with package information
  21. Updating dependencies (including require-dev)
  22. Package operations: 1 install, 0 updates, 0 removals
  23. a/a suggests installing b/b (an obscure reason)
  24. Writing lock file
  25. Generating autoload files
  26. --EXPECT--
  27. Installing a/a (1.0.0)