1
0
Fork 0
composer/tests/Composer/Test/DependencyResolver/Fixtures/poolbuilder/root-requirements-avoid-loa...

31 lines
512 B
Plaintext
Raw Normal View History

--TEST--
Root requirements avoid loading of further versions
--REQUEST--
{
"require": {
"foo/bar": "1.0.0",
"foo/requirer": "*"
}
}
--FIXED--
[
]
--PACKAGE-REPOS--
[
[
{ "name": "foo/bar", "version": "1.0.0" },
{ "name": "foo/bar", "version": "2.0.0" },
{ "name": "foo/bar", "version": "3.0.0" },
{ "name": "foo/requirer", "version": "1.0.0", "require": { "foo/bar": "*" } }
]
]
--EXPECT--
[
"foo/bar-1.0.0.0",
"foo/requirer-1.0.0.0"
]