1
0
Fork 0
composer/tests/Composer/Test/Fixtures/installer/install-package-and-its-pro...

23 lines
521 B
Plaintext

--TEST--
Install package and it's replacer skips the original
--COMPOSER--
{
"repositories": [
{
"type": "package",
"package": [
{ "name": "example/foo", "version": "1.0.0" },
{ "name": "example/foo-fork", "version": "0.5.0", "replace": { "example/foo": "1.0.*" } }
]
}
],
"require": {
"example/foo": "1.0.0",
"example/foo-fork": "0.5.*"
}
}
--RUN--
install
--EXPECT--
Installing example/foo-fork (0.5.0)