install-reference.test 569 B

123456789101112131415161718192021222324
  1. --TEST--
  2. Installs a dev package forcing it's reference
  3. --COMPOSER--
  4. {
  5. "repositories": [
  6. {
  7. "type": "package",
  8. "package": [
  9. {
  10. "name": "a/a", "version": "dev-master",
  11. "source": { "reference": "abc123", "url": "", "type": "git" }
  12. }
  13. ]
  14. }
  15. ],
  16. "require": {
  17. "a/a": "dev-master#def000"
  18. }
  19. }
  20. --RUN--
  21. install
  22. --EXPECT--
  23. Installing a/a (dev-master def000)
  24. Marking a/a (9999999-dev def000) as installed, alias of a/a (dev-master def000)