suggest-installed.test 711 B

123456789101112131415161718192021222324252627282930
  1. --TEST--
  2. Suggestions are not displayed for installed packages
  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. { "name": "b/b", "version": "1.0.0" }
  11. ]
  12. }
  13. ],
  14. "require": {
  15. "a/a": "1.0.0",
  16. "b/b": "1.0.0"
  17. }
  18. }
  19. --RUN--
  20. install
  21. --EXPECT-OUTPUT--
  22. Loading composer repositories with package information
  23. Updating dependencies (including require-dev)
  24. Package operations: 2 installs, 0 updates, 0 removals
  25. Writing lock file
  26. Generating autoload files
  27. --EXPECT--
  28. Installing a/a (1.0.0)
  29. Installing b/b (1.0.0)