1
0
Fork 0

Added a failing test for #2626

pull/2805/head
Christophe Coevoet 2014-02-21 16:26:53 +01:00 committed by Christian Flothmann
parent aa9c257f0e
commit b639005f29
1 changed files with 24 additions and 0 deletions

View File

@ -0,0 +1,24 @@
--TEST--
Ensure a replacer package deals with branch aliases
--COMPOSER--
{
"repositories": [
{
"type": "package",
"package": [
{ "name": "a/a", "version": "dev-master", "replace": {"c/c": "self.version" }, "extra": { "branch-alias": {"dev-master": "1.0.x-dev"} } },
{ "name": "b/b", "version": "1.0.0", "require": {"c/c": "1.*"} },
{ "name": "c/c", "version": "dev-master", "extra": { "branch-alias": {"dev-master": "1.0.x-dev"} } }
]
}
],
"require": {
"a/a": "dev-master",
"b/b": "1.*"
}
}
--RUN--
install
--EXPECT--
Installing a/a (dev-master)
Installing b/b (1.0.0)