2013-03-21 11:08:58 +00:00
|
|
|
--TEST--
|
|
|
|
Updates updateable packages in dry-run mode
|
|
|
|
--COMPOSER--
|
|
|
|
{
|
|
|
|
"repositories": [
|
|
|
|
{
|
|
|
|
"type": "package",
|
|
|
|
"package": [
|
|
|
|
{ "name": "a/a", "version": "1.0.0" },
|
|
|
|
{ "name": "a/a", "version": "1.0.1" },
|
|
|
|
{ "name": "a/a", "version": "1.1.0" },
|
|
|
|
|
|
|
|
{ "name": "a/b", "version": "1.0.0" },
|
|
|
|
{ "name": "a/b", "version": "1.0.1" },
|
|
|
|
{ "name": "a/b", "version": "2.0.0" },
|
|
|
|
|
|
|
|
{ "name": "a/c", "version": "1.0.0" },
|
|
|
|
{ "name": "a/c", "version": "2.0.0" }
|
|
|
|
]
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"require": {
|
|
|
|
"a/a": "1.0.*",
|
|
|
|
"a/c": "1.*"
|
|
|
|
},
|
|
|
|
"require-dev": {
|
|
|
|
"a/b": "*"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
--INSTALLED--
|
|
|
|
[
|
|
|
|
{ "name": "a/a", "version": "1.0.0" },
|
|
|
|
{ "name": "a/c", "version": "1.0.0" },
|
|
|
|
{ "name": "a/b", "version": "1.0.0" }
|
|
|
|
]
|
|
|
|
--RUN--
|
2014-04-07 09:10:57 +00:00
|
|
|
update --dry-run
|
2019-11-14 14:20:50 +00:00
|
|
|
--EXPECT-OUTPUT--
|
|
|
|
Loading composer repositories with package information
|
|
|
|
Updating dependencies
|
|
|
|
Lock file operations: 3 installs, 0 updates, 0 removals
|
|
|
|
- Locking a/a (1.0.1)
|
|
|
|
- Locking a/b (2.0.0)
|
|
|
|
- Locking a/c (1.0.0)
|
|
|
|
Installing dependencies from lock file (including require-dev)
|
|
|
|
Package operations: 0 installs, 2 updates, 0 removals
|
2019-11-14 14:40:59 +00:00
|
|
|
- Updating a/a (1.0.0 => 1.0.1)
|
|
|
|
- Updating a/b (1.0.0 => 2.0.0)
|
2013-03-21 11:08:58 +00:00
|
|
|
--EXPECT--
|