Fix composer repo test to match what composer repos send
parent
8b28d4bc82
commit
e25b86c129
|
@ -124,23 +124,25 @@ class ComposerRepositoryTest extends TestCase
|
||||||
->method('fetchFile')
|
->method('fetchFile')
|
||||||
->will($this->returnValue(array(
|
->will($this->returnValue(array(
|
||||||
'packages' => array(
|
'packages' => array(
|
||||||
array(array(
|
'a' => array(
|
||||||
'uid' => 1,
|
'dev-master' => array(
|
||||||
'name' => 'a',
|
'uid' => 1,
|
||||||
'version' => 'dev-master',
|
'name' => 'a',
|
||||||
'extra' => array('branch-alias' => array('dev-master' => '1.0.x-dev')),
|
'version' => 'dev-master',
|
||||||
)),
|
'extra' => array('branch-alias' => array('dev-master' => '1.0.x-dev')),
|
||||||
array(array(
|
),
|
||||||
'uid' => 2,
|
'dev-develop' => array(
|
||||||
'name' => 'a',
|
'uid' => 2,
|
||||||
'version' => 'dev-develop',
|
'name' => 'a',
|
||||||
'extra' => array('branch-alias' => array('dev-develop' => '1.1.x-dev')),
|
'version' => 'dev-develop',
|
||||||
)),
|
'extra' => array('branch-alias' => array('dev-develop' => '1.1.x-dev')),
|
||||||
array(array(
|
),
|
||||||
'uid' => 3,
|
'0.6' => array(
|
||||||
'name' => 'a',
|
'uid' => 3,
|
||||||
'version' => '0.6',
|
'name' => 'a',
|
||||||
)),
|
'version' => '0.6',
|
||||||
|
),
|
||||||
|
),
|
||||||
)
|
)
|
||||||
)));
|
)));
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue