41 lines
847 B
Plaintext
41 lines
847 B
Plaintext
--TEST--
|
|
Test that a conflict against a name that provided by the root does not error
|
|
--COMPOSER--
|
|
{
|
|
"version": "1.2.3",
|
|
"repositories": [
|
|
{
|
|
"type": "package",
|
|
"package": [
|
|
{
|
|
"name": "conflicting/pkg",
|
|
"version": "1.0.0",
|
|
"conflict": {
|
|
"provided/pkg": "2.*"
|
|
}
|
|
},
|
|
{
|
|
"name": "provider/pkg",
|
|
"version": "1.0.0",
|
|
"provide": { "provided/pkg2": "2.0.5" }
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"require": {
|
|
"conflicting/pkg": "*"
|
|
},
|
|
"provide": {
|
|
"provided/pkg": "2.*"
|
|
}
|
|
}
|
|
|
|
--RUN--
|
|
update
|
|
|
|
--EXPECT-EXIT-CODE--
|
|
0
|
|
|
|
--EXPECT--
|
|
Installing conflicting/pkg (1.0.0)
|