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

31 lines
655 B
Plaintext
Raw Normal View History

--TEST--
Updates a dev package forcing its reference
--COMPOSER--
{
"repositories": [
{
"type": "package",
"package": [
{
"name": "a/a", "version": "dev-master",
"source": { "reference": "abc123", "url": "", "type": "git" }
}
]
}
],
"require": {
"a/a": "dev-master#def000"
}
}
--INSTALLED--
[
{
"name": "a/a", "version": "dev-master",
"source": { "reference": "abc123", "url": "", "type": "git" }
}
]
--RUN--
install
--EXPECT--
Upgrading a/a (dev-master abc123 => dev-master def000)