2013-03-21 11:08:58 +00:00
|
|
|
--TEST--
|
|
|
|
Updates installed alias packages
|
|
|
|
--COMPOSER--
|
|
|
|
{
|
|
|
|
"repositories": [
|
|
|
|
{
|
|
|
|
"type": "package",
|
|
|
|
"package": [
|
|
|
|
{
|
|
|
|
"name": "a/a", "version": "dev-master",
|
|
|
|
"require": { "b/b": "2.0.*" },
|
2022-10-11 14:51:47 +00:00
|
|
|
"source": { "reference": "abcdef", "url": "https://example.org", "type": "git" },
|
2013-03-21 11:08:58 +00:00
|
|
|
"extra": { "branch-alias": { "dev-master": "1.0.x-dev" } }
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "b/b", "version": "dev-master",
|
2022-10-11 14:51:47 +00:00
|
|
|
"source": { "reference": "123456", "url": "https://example.org", "type": "git" },
|
2013-03-21 11:08:58 +00:00
|
|
|
"extra": { "branch-alias": { "dev-master": "2.0.x-dev" } }
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"require": {
|
|
|
|
"a/a": "~1.0@dev",
|
|
|
|
"b/b": "@dev"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
--INSTALLED--
|
|
|
|
[
|
|
|
|
{
|
|
|
|
"name": "a/a", "version": "dev-master",
|
|
|
|
"require": { "b/b": "2.0.*" },
|
2022-10-11 14:51:47 +00:00
|
|
|
"source": { "reference": "abcdef", "url": "https://example.org", "type": "git" },
|
2013-03-21 11:08:58 +00:00
|
|
|
"extra": { "branch-alias": { "dev-master": "1.0.x-dev" } }
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "b/b", "version": "dev-master",
|
2022-10-11 14:51:47 +00:00
|
|
|
"source": { "reference": "123456", "url": "https://example.org", "type": "git" },
|
2013-03-21 11:08:58 +00:00
|
|
|
"extra": { "branch-alias": { "dev-master": "2.0.x-dev" } }
|
|
|
|
}
|
|
|
|
]
|
|
|
|
--RUN--
|
|
|
|
update
|
|
|
|
--EXPECT--
|