install-aliased-alias.test 990 B

123456789101112131415161718192021222324252627282930313233343536
  1. --TEST--
  2. Installing double aliased package
  3. --COMPOSER--
  4. {
  5. "repositories": [
  6. {
  7. "type": "package",
  8. "package": [
  9. {
  10. "name": "a/a", "version": "dev-master",
  11. "dist": { "type": "file", "url": "" },
  12. "require": {
  13. "b/b": "dev-master"
  14. }
  15. },
  16. {
  17. "name": "b/b", "version": "dev-foo",
  18. "extra": { "branch-alias": { "dev-foo": "1.0.x-dev" } },
  19. "dist": { "type": "file", "url": "" }
  20. }
  21. ]
  22. }
  23. ],
  24. "require": {
  25. "a/a": "dev-master",
  26. "b/b": "1.0.x-dev as dev-master"
  27. },
  28. "minimum-stability": "dev"
  29. }
  30. --RUN--
  31. install
  32. --EXPECT--
  33. Installing b/b (dev-foo)
  34. Marking b/b (dev-master) as installed, alias of b/b (dev-foo)
  35. Installing a/a (dev-master)
  36. Marking b/b (1.0.x-dev) as installed, alias of b/b (dev-foo)