suggest-prod.test 960 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. --TEST--
  2. Suggestions are not displayed for when not updating the lock file
  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. --LOCK--
  18. {
  19. "packages": [
  20. { "name": "a/a", "version": "1.0.0", "suggest": { "b/b": "an obscure reason" } }
  21. ],
  22. "packages-dev": [],
  23. "aliases": [],
  24. "minimum-stability": "dev",
  25. "stability-flags": [],
  26. "prefer-stable": false,
  27. "prefer-lowest": false,
  28. "platform": [],
  29. "platform-dev": []
  30. }
  31. --RUN--
  32. install
  33. --EXPECT-OUTPUT--
  34. Installing dependencies from lock file (including require-dev)
  35. Verifying lock file contents can be installed on current platform.
  36. Package operations: 1 install, 0 updates, 0 removals
  37. Generating autoload files
  38. --EXPECT--
  39. Installing a/a (1.0.0)