1
0
Fork 0
composer/tests/Composer/Test/Fixtures/installer/update-to-empty-from-locked...

48 lines
995 B
Plaintext
Raw Normal View History

--TEST--
Update to a state without dependency works well from locked with dependency
--COMPOSER--
{
"minimum-stability": "dev"
}
--INSTALLED--
[
{
"name": "a/a", "version": "dev-master",
"source": { "reference": "1234", "type": "git", "url": "" }
}
]
--LOCK--
{
"packages": [
{
"name": "a/a", "version": "dev-master",
"source": { "reference": "1234", "type": "git", "url": "" },
"type": "library"
}
],
"packages-dev": [],
"aliases": [],
"minimum-stability": "dev",
"stability-flags": [],
"prefer-stable": false,
"prefer-lowest": false,
"platform": [],
"platform-dev": []
}
--RUN--
update
--EXPECT-LOCK--
{
"packages": [],
"packages-dev": [],
"aliases": [],
"minimum-stability": "dev",
"stability-flags": [],
"prefer-stable": false,
"prefer-lowest": false,
"platform": [],
"platform-dev": []
}
--EXPECT--
Uninstalling a/a (dev-master 1234)