update-without-lock.test 426 B

12345678910111213141516171819202122232425
  1. --TEST--
  2. Updates when no lock file is present without writing a lock file
  3. --COMPOSER--
  4. {
  5. "repositories": [
  6. {
  7. "type": "package",
  8. "package": [
  9. { "name": "a/a", "version": "1.0.0" }
  10. ]
  11. }
  12. ],
  13. "require": {
  14. "a/a": "1.0.0"
  15. },
  16. "config": {
  17. "lock": false
  18. }
  19. }
  20. --RUN--
  21. update
  22. --EXPECT--
  23. Installing a/a (1.0.0)
  24. --EXPECT-LOCK--
  25. false