1
0
Fork 0
composer/tests/Composer/Test/Fixtures/installer/update-reference-picks-late...

32 lines
814 B
Plaintext
Raw Normal View History

--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": "https://example.org", "type": "git" }
}
]
}
],
"require": {
"a/a": "dev-master"
}
}
--INSTALLED--
[
{
"name": "a/a", "version": "dev-master",
"source": { "reference": "def000", "url": "https://example.org", "type": "git" },
"dist": { "reference": "def000", "url": "https://example.org", "type": "zip", "shasum": "" }
}
]
--RUN--
update
--EXPECT--
Upgrading a/a (dev-master def000 => dev-master abc123)