1
0
Fork 0
mirror of https://github.com/composer/composer synced 2025-05-08 16:17:37 +00:00
composer/tests/Composer/Test/Fixtures/installer/plugins-are-installed-first.test
Jordi Boggiano ffac8646fc
Fix tests
2020-03-11 09:34:40 +01:00

31 lines
1,014 B
Text

--TEST--
Composer installers and their requirements are installed first
--COMPOSER--
{
"repositories": [
{
"type": "package",
"package": [
{ "name": "pkg/1", "version": "1.0.0" },
{ "name": "pkg/2", "version": "1.0.0" },
{ "name": "inst/pkg", "version": "1.0.0", "type": "composer-plugin" },
{ "name": "inst/with-req", "version": "1.0.0", "type": "composer-plugin", "require": { "php": ">=5", "ext-json": "*", "composer-plugin-api": "*" } },
{ "name": "inst/with-req2", "version": "1.0.0", "type": "composer-plugin", "require": { "pkg/2": "*" } }
]
}
],
"require": {
"pkg/1": "1.0.0",
"inst/pkg": "1.0.0",
"inst/with-req2": "1.0.0",
"inst/with-req": "1.0.0"
}
}
--RUN--
install
--EXPECT--
Installing inst/pkg (1.0.0)
Installing inst/with-req (1.0.0)
Installing pkg/2 (1.0.0)
Installing inst/with-req2 (1.0.0)
Installing pkg/1 (1.0.0)