2020-01-30 12:19:54 +00:00
--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",
2020-08-28 11:19:59 +00:00
"version": "1.0.0",
"provide": {
"foo/also-necessary": "1.0.0"
}
2020-01-30 12:19:54 +00:00
}
]
}
],
"require": {
2020-08-28 11:19:59 +00:00
"foo/also-necessary": "1.0.0",
2020-01-30 12:19:54 +00:00
"foo/standard": "1.0.0",
"foo/polyfill": "1.0.0"
}
}
--RUN--
update
--EXPECT--
Installing foo/polyfill (1.0.0)
2020-08-28 11:19:59 +00:00
Installing foo/standard (1.0.0)