circular-dependency2.test 955 B

123456789101112131415161718192021222324252627282930313233343536
  1. --TEST--
  2. Circular dependencies are possible between packages
  3. --COMPOSER--
  4. {
  5. "name": "root/pkg",
  6. "version": "dev-master",
  7. "require": {
  8. "require/itself": "1.0.0",
  9. "regular/pkg": "1.0.0"
  10. },
  11. "repositories": [
  12. {
  13. "type": "package",
  14. "package": [
  15. {
  16. "name": "require/itself",
  17. "version": "1.0.0",
  18. "source": { "reference": "some.branch", "type": "git", "url": "" },
  19. "require": {
  20. "require/itself": "1.0.0"
  21. }
  22. },
  23. {
  24. "name": "regular/pkg",
  25. "version": "1.0.0",
  26. "source": { "reference": "some.branch", "type": "git", "url": "" }
  27. }
  28. ]
  29. }
  30. ]
  31. }
  32. --RUN--
  33. update -v
  34. --EXPECT--
  35. Installing regular/pkg (1.0.0)
  36. Installing require/itself (1.0.0)