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

26 lines
605 B
Plaintext

--TEST--
Installs a dev package forcing it's reference
--COMPOSER--
{
"repositories": [
{
"type": "package",
"package": [
{
"name": "a/a", "version": "dev-main",
"source": { "reference": "abc123", "url": "", "type": "git" },
"default-branch": true
}
]
}
],
"require": {
"a/a": "dev-main#def000"
}
}
--RUN--
install
--EXPECT--
Installing a/a (dev-main def000)
Marking a/a (9999999-dev def000) as installed, alias of a/a (dev-main def000)