46 lines
839 B
Plaintext
46 lines
839 B
Plaintext
--TEST--
|
|
Update updates the outdated state of packages
|
|
--COMPOSER--
|
|
{
|
|
"repositories": [
|
|
{
|
|
"type": "package",
|
|
"package": [
|
|
{
|
|
"name": "a/a", "version": "1.0.0", "abandoned": "replacement"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"require": {
|
|
"a/a": "1.0.0"
|
|
}
|
|
}
|
|
--INSTALLED--
|
|
[
|
|
{
|
|
"name": "a/a", "version": "1.0.0"
|
|
}
|
|
]
|
|
--EXPECT-LOCK--
|
|
{
|
|
"packages": [
|
|
{
|
|
"name": "a/a", "version": "1.0.0",
|
|
"type": "library",
|
|
"abandoned": "replacement"
|
|
}
|
|
],
|
|
"packages-dev": [],
|
|
"aliases": [],
|
|
"minimum-stability": "stable",
|
|
"stability-flags": {},
|
|
"prefer-stable": false,
|
|
"prefer-lowest": false,
|
|
"platform": {},
|
|
"platform-dev": {}
|
|
}
|
|
--RUN--
|
|
update
|
|
--EXPECT--
|