fixed-packages-do-not-load-from-repos.test 294 B

1234567891011121314151617181920212223
  1. --TEST--
  2. Fixed packages do not get loaded from the repos
  3. --REQUEST--
  4. {
  5. "some/pkg": "*"
  6. }
  7. --FIXED--
  8. [
  9. {"name": "some/pkg", "version": "1.0.3", "id": 1}
  10. ]
  11. --PACKAGES--
  12. [
  13. {"name": "some/pkg", "version": "1.0.0"},
  14. {"name": "some/pkg", "version": "1.1.0"}
  15. ]
  16. --EXPECT--
  17. [
  18. 1
  19. ]