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

32 lines
690 B
Plaintext

--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": [
{ "package": "required", "version": "1.0.0" }
],
"packages-dev": null,
"aliases": [],
"minimum-stability": "stable",
"stability-flags": []
}
--RUN--
install
--EXPECT--
Installing required (1.0.0)