123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- --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--
|