2014-01-18 20:09:23 +00:00
|
|
|
--TEST--
|
|
|
|
Updating a dev package forcing it's reference should not do anything if the referenced version is the installed one
|
|
|
|
--COMPOSER--
|
|
|
|
{
|
|
|
|
"repositories": [
|
|
|
|
{
|
|
|
|
"type": "package",
|
|
|
|
"package": [
|
|
|
|
{
|
|
|
|
"name": "a/a", "version": "dev-master",
|
2022-10-11 14:51:47 +00:00
|
|
|
"source": { "reference": "abc123", "url": "https://example.org", "type": "git" }
|
2014-01-18 20:09:23 +00:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"require": {
|
|
|
|
"a/a": "dev-master#def000"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
--INSTALLED--
|
|
|
|
[
|
|
|
|
{
|
|
|
|
"name": "a/a", "version": "dev-master",
|
2022-10-11 14:51:47 +00:00
|
|
|
"source": { "reference": "def000", "url": "https://example.org", "type": "git" },
|
|
|
|
"dist": { "reference": "def000", "url": "https://example.org", "type": "zip", "shasum": "" }
|
2014-01-18 20:09:23 +00:00
|
|
|
}
|
|
|
|
]
|
|
|
|
--RUN--
|
|
|
|
update
|
|
|
|
--EXPECT--
|
2021-08-18 21:35:27 +00:00
|
|
|
Upgrading a/a (dev-master def000 => dev-master)
|