1
0
Fork 0
composer/tests/Composer/Test/Fixtures/installer/install-reference.test

26 lines
624 B
Plaintext
Raw Normal View History

--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",
"source": { "reference": "abc123", "url": "https://example.org", "type": "git" },
2020-06-19 13:35:09 +00:00
"default-branch": true
}
]
}
],
"require": {
2020-06-19 13:35:09 +00:00
"a/a": "dev-main#def000"
}
}
--RUN--
install
--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)