Fix test configurations, missing lock files, invalid ones
aliased alias test is failing because double alias is improperly resolved nowpull/7936/head
parent
94d45a980c
commit
e6e317bc27
|
@ -31,6 +31,6 @@ Installing double aliased package
|
|||
install
|
||||
--EXPECT--
|
||||
Installing b/b (dev-foo)
|
||||
Marking b/b (1.0.x-dev) as installed, alias of b/b (dev-foo)
|
||||
Marking b/b (dev-master) as installed, alias of b/b (dev-foo)
|
||||
Installing a/a (dev-master)
|
||||
Marking b/b (1.0.x-dev) as installed, alias of b/b (dev-foo)
|
||||
|
|
|
@ -21,7 +21,7 @@ Requirements from the composer file are not installed if the lock file is presen
|
|||
"packages": [
|
||||
{ "name": "required", "version": "1.0.0" }
|
||||
],
|
||||
"packages-dev": null,
|
||||
"packages-dev": [],
|
||||
"aliases": [],
|
||||
"minimum-stability": "stable",
|
||||
"stability-flags": [],
|
||||
|
@ -31,4 +31,4 @@ Requirements from the composer file are not installed if the lock file is presen
|
|||
--RUN--
|
||||
install
|
||||
--EXPECT--
|
||||
Installing required (1.0.0)
|
||||
Installing required (1.0.0)
|
||||
|
|
|
@ -74,8 +74,8 @@ update b/unstable
|
|||
"platform-dev": []
|
||||
}
|
||||
--EXPECT--
|
||||
Updating b/unstable (1.1.0-alpha) to b/unstable (1.0.0)
|
||||
Updating a/old (0.9.0) to a/old (1.0.0)
|
||||
Updating b/unstable (1.1.0-alpha) to b/unstable (1.0.0)
|
||||
Updating c/uptodate (2.0.0) to c/uptodate (1.0.0)
|
||||
Installing d/removed (1.0.0)
|
||||
Installing e/newreq (1.0.0)
|
||||
|
|
|
@ -23,7 +23,7 @@ The locked version will not get overwritten by an install
|
|||
{ "name": "foo/bar", "version": "1.0.0" },
|
||||
{ "name": "foo/baz", "version": "2.0.0" }
|
||||
],
|
||||
"packages-dev": null,
|
||||
"packages-dev": [],
|
||||
"aliases": [],
|
||||
"minimum-stability": "stable",
|
||||
"stability-flags": [],
|
||||
|
|
|
@ -41,6 +41,24 @@ Update with a package whitelist only updates those packages and their dependenci
|
|||
{ "name": "unrelated", "version": "1.0.0", "require": { "unrelated-dependency": "1.*" } },
|
||||
{ "name": "unrelated-dependency", "version": "1.0.0" }
|
||||
]
|
||||
--LOCK--
|
||||
{
|
||||
"packages": [
|
||||
{ "name": "fixed", "version": "1.0.0" },
|
||||
{ "name": "whitelisted-component1", "version": "1.0.0" },
|
||||
{ "name": "whitelisted-component2", "version": "1.0.0", "require": { "dependency": "1.0.0" } },
|
||||
{ "name": "root-dependency", "version": "1.0.0" },
|
||||
{ "name": "dependency", "version": "1.0.0" },
|
||||
{ "name": "unrelated", "version": "1.0.0", "require": { "unrelated-dependency": "1.*" } },
|
||||
{ "name": "unrelated-dependency", "version": "1.0.0" }
|
||||
],
|
||||
"packages-dev": [],
|
||||
"aliases": [],
|
||||
"minimum-stability": "dev",
|
||||
"stability-flags": {"a/a":20},
|
||||
"prefer-stable": false,
|
||||
"prefer-lowest": false
|
||||
}
|
||||
--RUN--
|
||||
update whitelisted-* --with-dependencies
|
||||
--EXPECT--
|
||||
|
|
|
@ -33,6 +33,22 @@ Update with a package whitelist only updates those packages and their dependenci
|
|||
{ "name": "unrelated", "version": "1.0.0", "require": { "unrelated-dependency": "1.*" } },
|
||||
{ "name": "unrelated-dependency", "version": "1.0.0" }
|
||||
]
|
||||
--LOCK--
|
||||
{
|
||||
"packages": [
|
||||
{ "name": "fixed", "version": "1.0.0" },
|
||||
{ "name": "whitelisted", "version": "1.0.0", "require": { "dependency": "1.0.0" } },
|
||||
{ "name": "dependency", "version": "1.0.0" },
|
||||
{ "name": "unrelated", "version": "1.0.0", "require": { "unrelated-dependency": "1.*" } },
|
||||
{ "name": "unrelated-dependency", "version": "1.0.0" }
|
||||
],
|
||||
"packages-dev": [],
|
||||
"aliases": [],
|
||||
"minimum-stability": "dev",
|
||||
"stability-flags": {"a/a":20},
|
||||
"prefer-stable": false,
|
||||
"prefer-lowest": false
|
||||
}
|
||||
--RUN--
|
||||
update whitelisted --with-dependencies
|
||||
--EXPECT--
|
||||
|
|
|
@ -28,7 +28,7 @@ Updating a dev package for new reference updates the url and reference
|
|||
"dist": { "reference": "oldref", "url": "oldurl", "type": "zip", "shasum": "" }
|
||||
}
|
||||
],
|
||||
"packages-dev": null,
|
||||
"packages-dev": [],
|
||||
"aliases": [],
|
||||
"minimum-stability": "dev",
|
||||
"stability-flags": {"a/a":20},
|
||||
|
|
Loading…
Reference in New Issue