1
0
Fork 0
composer/tests/Composer/Test/Fixtures/installer/install-from-empty-lock.test

35 lines
742 B
Plaintext
Raw Normal View History

--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" }
],
"packages-dev": [],
"aliases": [],
"minimum-stability": "stable",
"stability-flags": [],
2014-12-13 22:56:15 +00:00
"prefer-stable": false,
"prefer-lowest": false
}
--RUN--
install
--EXPECT--
Installing required (1.0.0)