1
0
Fork 0

PoolBuilder Failing test: fixed package is not only pkg loaded for that name

pull/8850/head
Nils Adermann 2020-04-29 22:54:33 +02:00 committed by Jordi Boggiano
parent 1c8865a5d1
commit 208a735645
No known key found for this signature in database
GPG Key ID: 7BBD42C429EC80BC
1 changed files with 13 additions and 4 deletions

View File

@ -3,21 +3,30 @@ Fixed packages do not get loaded from the repos
--REQUEST-- --REQUEST--
{ {
"some/pkg": "*" "some/pkg": "*",
"root/req": "*"
} }
--FIXED-- --FIXED--
[ [
{"name": "some/pkg", "version": "1.0.3", "id": 1} {"name": "some/pkg", "version": "1.0.3", "id": 1},
{"name": "dep/dep", "version": "2.1.5", "id": 2}
] ]
--PACKAGES-- --PACKAGES--
[ [
{"name": "some/pkg", "version": "1.0.0"}, {"name": "some/pkg", "version": "1.0.0"},
{"name": "some/pkg", "version": "1.1.0"} {"name": "some/pkg", "version": "1.1.0"},
{"name": "root/req", "version": "1.0.0", "require": {"dep/dep": "2.*"}},
{"name": "root/req", "version": "2.0.0", "require": {"dep/dep": "3.*"}},
{"name": "dep/dep", "version": "2.3.4"},
{"name": "dep/dep", "version": "3.0.1"}
] ]
--EXPECT-- --EXPECT--
[ [
1 1,
2,
"root/req-1.0.0.0",
"root/req-2.0.0.0"
] ]