1
0
Fork 0
composer/tests/Composer/Test/Fixtures/installer/install-aliased-alias.test

39 lines
1.1 KiB
Plaintext

--TEST--
Installing double aliased package
--COMPOSER--
{
"repositories": [
{
"type": "package",
"package": [
{
"name": "a/a", "version": "dev-master",
"dist": { "type": "file", "url": "" },
"require": {
"b/b": "dev-master"
},
"default-branch": true
},
{
"name": "b/b", "version": "dev-foo",
"extra": { "branch-alias": { "dev-foo": "1.0.x-dev" } },
"dist": { "type": "file", "url": "" }
}
]
}
],
"require": {
"a/a": "dev-master",
"b/b": "1.0.x-dev as dev-master"
},
"minimum-stability": "dev"
}
--RUN--
install
--EXPECT--
Installing b/b (dev-foo)
Marking b/b (dev-master) as installed, alias of b/b (dev-foo)
Marking b/b (1.0.x-dev) as installed, alias of b/b (dev-foo)
Installing a/a (dev-master)
Marking a/a (9999999-dev) as installed, alias of a/a (dev-master)