1
0
Fork 0
composer/tests/Composer/Test/Fixtures/installer/circular-dependency2.test

37 lines
951 B
Plaintext

--TEST--
Circular dependencies are possible between packages
--COMPOSER--
{
"name": "root",
"version": "dev-master",
"require": {
"require/itself": "1.0.0",
"regular/pkg": "1.0.0"
},
"repositories": [
{
"type": "package",
"package": [
{
"name": "require/itself",
"version": "1.0.0",
"source": { "reference": "some.branch", "type": "git", "url": "" },
"require": {
"require/itself": "1.0.0"
}
},
{
"name": "regular/pkg",
"version": "1.0.0",
"source": { "reference": "some.branch", "type": "git", "url": "" }
}
]
}
]
}
--RUN--
update -v
--EXPECT--
Installing require/itself (1.0.0)
Installing regular/pkg (1.0.0)