2012-05-16 15:14:25 +00:00
|
|
|
--TEST--
|
|
|
|
Installs a dev package forcing it's reference
|
|
|
|
--COMPOSER--
|
|
|
|
{
|
|
|
|
"repositories": [
|
|
|
|
{
|
|
|
|
"type": "package",
|
|
|
|
"package": [
|
|
|
|
{
|
2020-06-19 13:35:09 +00:00
|
|
|
"name": "a/a", "version": "dev-main",
|
2022-10-11 14:51:47 +00:00
|
|
|
"source": { "reference": "abc123", "url": "https://example.org", "type": "git" },
|
2020-06-19 13:35:09 +00:00
|
|
|
"default-branch": true
|
2012-05-16 15:14:25 +00:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"require": {
|
2020-06-19 13:35:09 +00:00
|
|
|
"a/a": "dev-main#def000"
|
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-06-19 13:35:09 +00:00
|
|
|
Installing a/a (dev-main def000)
|
|
|
|
Marking a/a (9999999-dev def000) as installed, alias of a/a (dev-main def000)
|