1
0
Fork 0
composer/tests/Composer/Test/Fixtures/installer/replace-root-require.test

25 lines
573 B
Plaintext
Raw Normal View History

2014-02-21 12:14:36 +00:00
--TEST--
Ensure a transiently required replacer can replace root requirements
--COMPOSER--
{
"repositories": [
{
"type": "package",
"package": [
{ "name": "a/a", "version": "1.0.0" },
{ "name": "b/b", "version": "1.0.0", "require": {"c/c": "1.*"} },
{ "name": "c/c", "version": "1.0.0", "replace": {"a/a": "1.0.0" }}
]
}
],
"require": {
"a/a": "1.*",
"b/b": "1.*"
}
}
--RUN--
install
--EXPECT--
Installing c/c (1.0.0)
Installing b/b (1.0.0)