2012-05-16 15:14:25 +00:00
|
|
|
--TEST--
|
2021-08-22 11:41:18 +00:00
|
|
|
Updates a dev package forcing its reference
|
2012-05-16 15:14:25 +00:00
|
|
|
--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" }
|
2012-05-16 15:14:25 +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": "abc123", "url": "https://example.org", "type": "git" }
|
2012-05-16 15:14:25 +00:00
|
|
|
}
|
|
|
|
]
|
2012-05-27 22:11:18 +00:00
|
|
|
--RUN--
|
|
|
|
install
|
2012-05-16 15:14:25 +00:00
|
|
|
--EXPECT--
|
2020-02-11 12:43:38 +00:00
|
|
|
Upgrading a/a (dev-master abc123 => dev-master def000)
|