2012-05-28 16:57:59 +00:00
|
|
|
--TEST--
|
|
|
|
Requirements from the composer file are not installed if the lock file is present
|
|
|
|
--COMPOSER--
|
|
|
|
{
|
|
|
|
"repositories": [
|
|
|
|
{
|
|
|
|
"type": "package",
|
|
|
|
"package": [
|
|
|
|
{ "name": "required", "version": "1.0.0" },
|
|
|
|
{ "name": "newly-required", "version": "1.0.0" }
|
|
|
|
]
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"require": {
|
|
|
|
"required": "1.0.0",
|
|
|
|
"newly-required": "1.0.0"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
--LOCK--
|
|
|
|
{
|
|
|
|
"packages": [
|
2013-03-28 19:42:25 +00:00
|
|
|
{ "name": "required", "version": "1.0.0" }
|
2012-05-28 16:57:59 +00:00
|
|
|
],
|
|
|
|
"packages-dev": null,
|
|
|
|
"aliases": [],
|
|
|
|
"minimum-stability": "stable",
|
2014-07-07 17:51:00 +00:00
|
|
|
"stability-flags": [],
|
|
|
|
"prefer-stable": false
|
2012-05-28 16:57:59 +00:00
|
|
|
}
|
|
|
|
--RUN--
|
|
|
|
install
|
|
|
|
--EXPECT--
|
|
|
|
Installing required (1.0.0)
|