1
0
Fork 0
composer/tests/Composer/Test/Fixtures/installer/install-dev-using-dist.test

53 lines
1.2 KiB
Plaintext
Raw Normal View History

2012-08-31 22:30:48 +00:00
--TEST--
Installs a dev package from lock using dist
--COMPOSER--
{
"repositories": [
{
"type": "package",
"package": [
{
"name": "a/a",
"version": "dev-master",
"version_normalized": "9999999-dev",
"dist": {
"type": "zip",
"url": "http://www.example.com/dist.zip",
"reference": "459720ff3b74ee0c0d159277c6f2f5df89d8a4f6"
}
}
]
}
],
"require": {
"a/a": "dev-master"
},
"minimum-stability": "dev"
}
--RUN--
install --prefer-dist
--EXPECT-LOCK--
{
"packages": [
{
2012-09-27 16:44:53 +00:00
"name": "a/a",
2012-08-31 22:30:48 +00:00
"version": "dev-master",
2012-09-27 16:44:53 +00:00
"dist": {
"type": "zip",
"url": "http://www.example.com/dist.zip",
"reference": "459720ff3b74ee0c0d159277c6f2f5df89d8a4f6",
"shasum": null
},
"type": "library"
2012-08-31 22:30:48 +00:00
}
],
"packages-dev": null,
"aliases": [],
"minimum-stability": "dev",
"stability-flags": {
"a/a": 20
}
}
--EXPECT--
Installing a/a (dev-master)