2020-01-28 15:01:17 +00:00
|
|
|
--TEST--
|
|
|
|
Updating a dev package should update to the latest available reference
|
|
|
|
--COMPOSER--
|
|
|
|
{
|
|
|
|
"repositories": [
|
|
|
|
{
|
|
|
|
"type": "package",
|
|
|
|
"package": [
|
|
|
|
{
|
|
|
|
"name": "a/a", "version": "dev-master",
|
|
|
|
"source": { "reference": "abc123", "url": "", "type": "git" }
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"require": {
|
|
|
|
"a/a": "dev-master"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
--INSTALLED--
|
|
|
|
[
|
|
|
|
{
|
|
|
|
"name": "a/a", "version": "dev-master",
|
|
|
|
"source": { "reference": "def000", "url": "", "type": "git" },
|
|
|
|
"dist": { "reference": "def000", "url": "", "type": "zip", "shasum": "" }
|
|
|
|
}
|
|
|
|
]
|
|
|
|
--RUN--
|
|
|
|
update
|
|
|
|
--EXPECT--
|
2020-02-11 12:43:38 +00:00
|
|
|
Upgrading a/a (dev-master def000 => dev-master abc123)
|