1
0
Fork 0
composer/tests/Composer/Test/DependencyResolver/Fixtures/poolbuilder/package-versions-are-not-lo...

32 lines
579 B
Plaintext
Raw Normal View History

2020-04-30 15:19:21 +00:00
--TEST--
2020-04-30 16:26:20 +00:00
Test irrelevant package versions are not loaded recursively
2020-04-30 15:19:21 +00:00
--REQUEST--
{
"require": {
"root/req": "*"
}
}
--FIXED--
[
]
--PACKAGE-REPOS--
2020-04-30 15:19:21 +00:00
[
[
{"name": "root/req", "version": "1.0.0", "require": {"dep/dep": "2.*"}},
{"name": "dep/dep", "version": "2.3.4", "require": {"dep/dep2": "2.*"}},
{"name": "dep/dep", "version": "3.0.1"},
{"name": "dep/dep2", "version": "2.3.4"},
{"name": "dep/dep2", "version": "3.0.1"}
]
2020-04-30 15:19:21 +00:00
]
--EXPECT--
[
"root/req-1.0.0.0",
"dep/dep-2.3.4.0",
"dep/dep2-2.3.4.0"
]