update-syncs-outdated.test 839 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. --TEST--
  2. Update updates the outdated state of packages
  3. --COMPOSER--
  4. {
  5. "repositories": [
  6. {
  7. "type": "package",
  8. "package": [
  9. {
  10. "name": "a/a", "version": "1.0.0", "abandoned": "replacement"
  11. }
  12. ]
  13. }
  14. ],
  15. "require": {
  16. "a/a": "1.0.0"
  17. }
  18. }
  19. --INSTALLED--
  20. [
  21. {
  22. "name": "a/a", "version": "1.0.0"
  23. }
  24. ]
  25. --EXPECT-LOCK--
  26. {
  27. "packages": [
  28. {
  29. "name": "a/a", "version": "1.0.0",
  30. "type": "library",
  31. "abandoned": "replacement"
  32. }
  33. ],
  34. "packages-dev": [],
  35. "aliases": [],
  36. "minimum-stability": "stable",
  37. "stability-flags": [],
  38. "prefer-stable": false,
  39. "prefer-lowest": false,
  40. "platform": [],
  41. "platform-dev": []
  42. }
  43. --RUN--
  44. update
  45. --EXPECT--