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

35 lines
820 B
JSON
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"
}
]
}
],
"require": {
"foo/standard": "1.0.0",
"foo/polyfill": "1.0.0"
}
}
--RUN--
update
--EXPECT--
Installing foo/standard (1.0.0)
Installing foo/polyfill (1.0.0)