45 lines
1.4 KiB
Plaintext
45 lines
1.4 KiB
Plaintext
--TEST--
|
|
Updates installed alias packages in dry-run mode
|
|
--COMPOSER--
|
|
{
|
|
"repositories": [
|
|
{
|
|
"type": "package",
|
|
"package": [
|
|
{
|
|
"name": "a/a", "version": "dev-master",
|
|
"require": { "b/b": "2.0.*" },
|
|
"source": { "reference": "abcdef", "url": "https://example.org", "type": "git" },
|
|
"extra": { "branch-alias": { "dev-master": "1.0.x-dev" } }
|
|
},
|
|
{
|
|
"name": "b/b", "version": "dev-master",
|
|
"source": { "reference": "123456", "url": "https://example.org", "type": "git" },
|
|
"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.*" },
|
|
"source": { "reference": "abcdef", "url": "https://example.org", "type": "git" },
|
|
"extra": { "branch-alias": { "dev-master": "1.0.x-dev" } }
|
|
},
|
|
{
|
|
"name": "b/b", "version": "dev-master",
|
|
"source": { "reference": "123456", "url": "https://example.org", "type": "git" },
|
|
"extra": { "branch-alias": { "dev-master": "2.0.x-dev" } }
|
|
}
|
|
]
|
|
--RUN--
|
|
update --dry-run
|
|
--EXPECT--
|