1
0
Fork 0
composer/tests/Composer/Test/Fixtures/installer/update-syncs-outdated.test

46 lines
839 B
Plaintext
Raw Permalink Normal View History

--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",
2024-09-18 14:32:40 +00:00
"stability-flags": {},
"prefer-stable": false,
"prefer-lowest": false,
2024-09-18 14:32:40 +00:00
"platform": {},
"platform-dev": {}
}
--RUN--
update
--EXPECT--