2012-05-13 19:40:42 +00:00
|
|
|
--TEST--
|
|
|
|
Updates updateable packages
|
|
|
|
--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" },
|
2013-03-02 23:41:12 +00:00
|
|
|
{ "name": "a/c", "version": "1.0.0" },
|
2012-05-13 19:40:42 +00:00
|
|
|
{ "name": "a/b", "version": "1.0.0" }
|
|
|
|
]
|
2012-05-27 22:11:18 +00:00
|
|
|
--RUN--
|
|
|
|
update --dev
|
|
|
|
--EXPECT--
|
2012-05-13 19:40:42 +00:00
|
|
|
Updating a/a (1.0.0) to a/a (1.0.1)
|
|
|
|
Updating a/b (1.0.0) to a/b (2.0.0)
|