1
0
Fork 0

Add failing test for #3990

pull/4977/head
Jordi Boggiano 2016-02-29 14:45:35 +00:00
parent 2ff19e4c62
commit 7b404c4717
1 changed files with 39 additions and 0 deletions

View File

@ -0,0 +1,39 @@
--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": "" },
"__dummy__require": {
"require/itself": "1.0.0"
}
}
]
}
]
}
--RUN--
update -v
--EXPECT--
Installing require/itself (1.0.0)
Installing regular/pkg (1.0.0)