12345678910111213141516171819202122232425262728293031323334353637 |
- --TEST--
- Partial update without lock file should error
- --COMPOSER--
- {
- "repositories": [
- {
- "type": "package",
- "package": [
- { "name": "a/old", "version": "1.0.0" },
- { "name": "a/old", "version": "2.0.0" },
- { "name": "b/unstable", "version": "1.0.0" },
- { "name": "b/unstable", "version": "1.1.0-alpha" },
- { "name": "c/uptodate", "version": "1.0.0" },
- { "name": "d/removed", "version": "1.0.0" }
- ]
- }
- ],
- "require": {
- "a/old": "*",
- "b/unstable": "*",
- "c/uptodate": "*"
- }
- }
- --INSTALLED--
- [
- { "name": "a/old", "version": "1.0.0" },
- { "name": "b/unstable", "version": "1.1.0-alpha" },
- { "name": "c/uptodate", "version": "1.0.0" },
- { "name": "d/removed", "version": "1.0.0" }
- ]
- --RUN--
- update b/unstable
- --EXPECT-OUTPUT--
- Cannot update only a partial set of packages without a lock file present.
- --EXPECT-EXIT-CODE--
- 1
- --EXPECT--
|