1
0
Fork 0
composer/tests/Composer/Test/Fixtures/installer/replace-vendor-priorities.test

22 lines
512 B
Plaintext
Raw Normal View History

--TEST--
Replacer of the same vendor takes precedence if same prio repo
--COMPOSER--
{
"repositories": [
{
"type": "package",
"package": [
{ "name": "b/replacer", "version": "1.1.0", "replace": { "a/package": "1.1.0" } },
{ "name": "a/replacer", "version": "1.1.0", "replace": { "a/package": "1.1.0" } }
]
}
],
"require": {
"a/package": "1.*"
}
}
--RUN--
install
--EXPECT--
Installing a/replacer (1.1.0)