42 lines
1.1 KiB
Plaintext
42 lines
1.1 KiB
Plaintext
--TEST--
|
|
Updating a dev package to its latest ref should pick up new dependencies
|
|
--COMPOSER--
|
|
{
|
|
"repositories": [
|
|
{
|
|
"type": "package",
|
|
"package": [
|
|
{
|
|
"name": "a/devpackage", "version": "dev-master",
|
|
"source": { "reference": "newref", "url": "", "type": "git" },
|
|
"require": {
|
|
"a/dependency": "*"
|
|
}
|
|
},
|
|
{
|
|
"name": "a/dependency", "version": "dev-master",
|
|
"source": { "reference": "ref", "url": "", "type": "git" },
|
|
"require": {}
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"require": {
|
|
"a/devpackage": "dev-master"
|
|
},
|
|
"minimum-stability": "dev"
|
|
}
|
|
--INSTALLED--
|
|
[
|
|
{
|
|
"name": "a/devpackage", "version": "dev-master",
|
|
"source": { "reference": "oldref", "url": "", "type": "git" },
|
|
"require": {}
|
|
}
|
|
]
|
|
--RUN--
|
|
update
|
|
--EXPECT--
|
|
Installing a/dependency (dev-master ref)
|
|
Updating a/devpackage (dev-master oldref => dev-master newref)
|