1
0
Fork 0
composer/tests/Composer/Test/Fixtures/installer/provider-packages-can-be-in...

39 lines
969 B
Plaintext
Raw Normal View History

--TEST--
Test that providers can be installed in conjunction with the package they provide if they are selected and the package they provide is also installable
--COMPOSER--
{
"repositories": [
{
"type": "package",
"package": [
{
"name": "foo/polyfill",
"provide": {
"foo/standard": "1.0.0"
},
"version": "1.0.0"
},
{
"name": "foo/standard",
"version": "1.0.0",
"provide": {
"foo/also-necessary": "1.0.0"
}
}
]
}
],
"require": {
"foo/also-necessary": "1.0.0",
"foo/standard": "1.0.0",
"foo/polyfill": "1.0.0"
}
}
--RUN--
update
--EXPECT--
Installing foo/polyfill (1.0.0)
Installing foo/standard (1.0.0)