PoolBuilder Failing test: fixed package is not only pkg loaded for that name
parent
1c8865a5d1
commit
208a735645
|
@ -3,21 +3,30 @@ Fixed packages do not get loaded from the repos
|
|||
|
||||
--REQUEST--
|
||||
{
|
||||
"some/pkg": "*"
|
||||
"some/pkg": "*",
|
||||
"root/req": "*"
|
||||
}
|
||||
|
||||
--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--
|
||||
[
|
||||
{"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--
|
||||
[
|
||||
1
|
||||
1,
|
||||
2,
|
||||
"root/req-1.0.0.0",
|
||||
"root/req-2.0.0.0"
|
||||
]
|
||||
|
|
Loading…
Reference in New Issue