install-reference.test 489 B

1234567891011121314151617181920212223
  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)