update-ignore-platform-package-requirements.test 508 B

1234567891011121314151617181920212223242526
  1. --TEST--
  2. Update in ignore-platform-reqs mode
  3. --COMPOSER--
  4. {
  5. "repositories": [
  6. {
  7. "type": "package",
  8. "package": [
  9. { "name": "a/a", "version": "1.0.1", "require": { "ext-testdummy": "*" } }
  10. ]
  11. }
  12. ],
  13. "require": {
  14. "a/a": "1.0.*",
  15. "php": "99.9",
  16. "ext-dummy2": "9"
  17. }
  18. }
  19. --INSTALLED--
  20. [
  21. { "name": "a/a", "version": "1.0.0" }
  22. ]
  23. --RUN--
  24. update --ignore-platform-reqs
  25. --EXPECT--
  26. Upgrading a/a (1.0.0 => 1.0.1)