install-package-and-its-provider-skips-original.test 497 B

12345678910111213141516171819202122
  1. --TEST--
  2. Install package and it's replacer skips the original
  3. --COMPOSER--
  4. {
  5. "repositories": [
  6. {
  7. "type": "package",
  8. "package": [
  9. { "name": "ext-foo", "version": "1.0.0" },
  10. { "name": "ext-foo/fork", "version": "0.5.0", "replace": { "ext-foo": "1.0.*" } }
  11. ]
  12. }
  13. ],
  14. "require": {
  15. "ext-foo": "1.0.0",
  16. "ext-foo/fork": "0.5.*"
  17. }
  18. }
  19. --RUN--
  20. install
  21. --EXPECT--
  22. Installing ext-foo/fork (0.5.0)