Test: Verify replacing a package required by the same package satisfies the dep
parent
290450214e
commit
1d6c0865ca
|
@ -0,0 +1,25 @@
|
|||
--TEST--
|
||||
Test that a package requiring something it replaces itself, satisfies itself even though a package exists.
|
||||
--COMPOSER--
|
||||
{
|
||||
"repositories": [
|
||||
{
|
||||
"type": "package",
|
||||
"package": {
|
||||
"name": "replaced/pkg",
|
||||
"version": "1.0.0"
|
||||
}
|
||||
}
|
||||
],
|
||||
"require": {
|
||||
"replaced/pkg": "1.0.0"
|
||||
},
|
||||
"provide": {
|
||||
"replaced/pkg": "1.0.0"
|
||||
}
|
||||
}
|
||||
|
||||
--RUN--
|
||||
update
|
||||
|
||||
--EXPECT--
|
Loading…
Reference in New Issue