suggest-prod.test 586 B

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