35 lines
820 B
JSON
35 lines
820 B
JSON
|
--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)
|